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

markdown 解析空格和制表符存在逻辑Bug #296

Open
ShingLi opened this issue Sep 6, 2024 · 0 comments
Open

markdown 解析空格和制表符存在逻辑Bug #296

ShingLi opened this issue Sep 6, 2024 · 0 comments

Comments

@ShingLi
Copy link

ShingLi commented Sep 6, 2024

image

如存在以下代码

var a = ">	fmt.Fprintf(w, <"

正则/s是会匹配到这个4缩进的制表符的,那么在后续转换过程中就会丢失代码的缩进数,会统一解析成一个空格

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

No branches or pull requests

1 participant