I need to escape some html and want to make sure I am not missing anything.
The "html" package has:
[html.EscapeString(s string) string][1]
which will escape `'"&<>`
The "text/template" package has:
[template.HTMLEscapeString(s string) string][2]
which also escapes `'"&<>`
They seem to do the same but have slightly different approaches. Is there any differences that I am missing? If not, why 2 different built-in functions?