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
有 include 页面时,缩进表现的不好,现在貌似被 gofmt 格式化过,除了缩进还有没用的多余空行
预期的效果,是能尽量保持 .html 的缩进
现在的表现: userlist.html.go
for _, user := range userList { buffer.WriteString(` <ul> `) buffer.WriteString(`<li> `) hero.EscapeHTML(user, buffer) buffer.WriteString(` </li> `) buffer.WriteString(` </ul> `) }
Response
<ul> <li> Alice </li> </ul> <ul> <li> Bob </li> </ul> <ul> <li> Tom </li> </ul>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
有 include 页面时,缩进表现的不好,现在貌似被 gofmt 格式化过,除了缩进还有没用的多余空行
预期的效果,是能尽量保持 .html 的缩进
现在的表现:
userlist.html.go
Response
The text was updated successfully, but these errors were encountered: