This commit is contained in:
Daniel
2024-10-07 19:28:56 +08:00
parent 94bcc359ff
commit 991bf26d57
+2
View File
@@ -96,6 +96,8 @@ func EscapeHTML(s string) (ret string) {
ret = strings.ReplaceAll(ret, "__@gt__", ">")
ret = strings.ReplaceAll(ret, "__@34__", """)
ret = strings.ReplaceAll(ret, "__@13__", "
")
ret = strings.ReplaceAll(ret, "<", "<")
ret = strings.ReplaceAll(ret, ">", ">")
return
}