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

RemoveHtml方法错误 #1

Open
xingshanghe opened this issue Mar 31, 2021 · 0 comments
Open

RemoveHtml方法错误 #1

xingshanghe opened this issue Mar 31, 2021 · 0 comments

Comments

@xingshanghe
Copy link

xingshanghe commented Mar 31, 2021

和转义重复了。utils.go中func RemoveHtml(src string) string re, _ := regexp.Compile(\<[\S\s]+?\>`) 应该为: re, _ := regexp.Compile("\<[\S\s]+?\>")

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