-
Notifications
You must be signed in to change notification settings - Fork 41
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
多出来的 ** #126
Comments
<html>
<body>
<p>
<strong></strong>
<strong><span>中文</span></strong>
<strong><span>:</span></strong>
<strong><span>符号<span>阿保持</span></span></strong>
</p>
<p>
<strong></strong>
<strong><span>abc</span></strong>
<strong><span>:</span></strong>
<strong><span>abc<span>afdfd</span></span></strong>
</p>
</body>
</html> 我用上面的HTML粘贴后结果是: **中文** **:** **符号阿保持**
**abc** **:** **abcafdfd** 并没有发现多余的星号。猜想可能是原始的HTML文件不规范,存在标签Tag不匹配的问题。 |
双宇论(上).zip |
也可能有浏览器版本的原因
|
如果把HTML单独写作一行,没有按缩进格式化 <html>
<body>
<p>
<strong><span>误解三</span></strong><strong><span>:</span></strong><strong><span><span>量子态没有能量</span></span></strong>
</p>
</body>
</html> 转换后的结果是 **误解三****:****量子态没有能量** 粗体符号连到了一块,就会出现多余的*号 如果是格式化以后HTML: <html>
<body>
<p>
<strong>
<span>误解三</span>
</strong>
<strong>
<span>:</span>
</strong>
<strong>
<span>
<span>量子态没有能量</span>
</span>
</strong>
</p>
</body>
</html> 就能输出正确的结果: **误解三** **:** **量子态没有能量** 初步估计是第三方库turndown的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下HTML结构会导致多余的星号出现
粘贴结果出现了多余的星号
网页原文是正常的,并没有多余的星号
The text was updated successfully, but these errors were encountered: