Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

超过三级的列表复制存在问题 #296

Closed
Achuan-2 opened this issue May 6, 2024 · 3 comments · Fixed by #297
Closed

超过三级的列表复制存在问题 #296

Achuan-2 opened this issue May 6, 2024 · 3 comments · Fixed by #297

Comments

@Achuan-2
Copy link

Achuan-2 commented May 6, 2024

# 2024-05-06 10:51:41

* 1

  * 1

    * 1

      * 1

使用编辑器渲染后,复制到微信公众号,列表最多只有二级
Clip_2024-05-06_10-54-11

@YangFong
Copy link
Member

YangFong commented May 6, 2024

复现成功,似乎是因为 HTML 组织结构不同的问题,需要实验。

image

image

@YangFong
Copy link
Member

YangFong commented May 6, 2024

对上了,目前的渲染是,次级的列表会包含在 <li> 中,而微信则是需要次级列表和 <li> 同级。

预期是:

<ul>
	<li></li>
	<ul>
		<li></li>
		<ul></ul>
	</ul>
</ul>

目前是:

<ul>
	<li>
		<ul>
			<li>
				<ul></ul>			
			</li>
		</ul>
	</li>
</ul>

@Achuan-2
Copy link
Author

Achuan-2 commented May 6, 2024

目前的渲染是,次级的列表会包含在<li>中,而微信则是需要次级列表和<li>同级。

是的,我也发现了,普通html用微信的这个结构也是能正常渲染的

YangFong added a commit that referenced this issue May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants