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

fix: 有序列表无序列表嵌套导致getHtml返回结果出错 #5798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

caizheng111
Copy link

问题复现步骤:

  1. 进入https://www.wangeditor.com/demo/get-html.html
  2. 输入以下文本
    image
  3. 可以发现获取到的html中将最下面的无序修改成了有序。
  4. 以上错误会在有序列表无序列表嵌套出现。
  5. 主要原因时源码中的getStartContainerTagNumber、getEndContainerTagNumber函数出错。

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我运行了代码测试后发现似乎并没有解决编辑器有序列表无序列表渲染错误的问题,能进一步讨论一下吗

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 this pull request may close these issues.

2 participants