We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
举例: I was 将会被解析成
I was
<ol><li>was</li></ol>
据我了解没有任何一个 Markdown 格式规定了这样的 list 格式?所以这是一个 bug?
The text was updated successfully, but these errors were encountered:
if (preg_match("/^(\s*)((?:[0-9]+\.)|(?:[a-z]\.?)|\-|\+|\*)\s+/i", $line, $matches)) {
要解决这个问题,可以删除第 625 行最后一个等价于 等价于{0,1} 的 ?即可, (?:[a-z]\.?) => (?:[a-z]\.)
{0,1}
?
(?:[a-z]\.?)
(?:[a-z]\.)
if (preg_match("/^(\s*)((?:[0-9]+\.)|(?:[a-z]\.)|\-|\+|\*)\s+/i", $line, $matches)) {
不知道哪个格式规定字母不加 . 也可以当做 list,如有人知道烦请告知,感谢。
Sorry, something went wrong.
如果单个英文字符+空格就能解析为 ol,那么大量英语句子会出现问题,例如:
另外,在 js 版本中也有同样的问题,在线测试:例如: I got it.
其他各个 markdown 编辑器中均无此问题。
411de24
No branches or pull requests
举例:
I was
将会被解析成
据我了解没有任何一个 Markdown 格式规定了这样的 list 格式?所以这是一个 bug?
The text was updated successfully, but these errors were encountered: