-
Notifications
You must be signed in to change notification settings - Fork 322
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
Markdown 语法无法正常解析,会出现多余的换行 #273
Comments
还请麻烦指导一下 |
是不是应该在匹配节点末端,如 |
暂时解决了这个问题,我在解析之前过滤了 \r\n
|
感谢老哥 我也这么解决的,但是想问下为什么要用空p标签替换呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我使用的是最新版本v3,我在解析长字符串时,解析成小程序的dom,会出现很多多余的换行,导致显示错乱!
###要解析的原文本如下###
###调用 md.render 后的结果如下###
最后每个节点按照如上字符串的方式出现多余换行,结果如下:
The text was updated successfully, but these errors were encountered: