-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
html: EscapeString('
) should not be '
#3489
Labels
Comments
Oops. Looks like apos was introduced in HTML5 (and XML) but wasn't in earlier versions of HTML. Thanks. Owner changed to @nigeltao. Status changed to Accepted. |
Comment 3 by [email protected]: To prevent regressions, the comment at http://golang.org/src/pkg/text/template/funcs.go#L249 should be updated to mention that apos is not supported by older browsers. |
This issue was closed by revision 6277656. Status changed to Fixed. |
nigeltao
added a commit
that referenced
this issue
May 11, 2015
…, since IE8 and ««« backport a70135896879 html, exp/html: escape ' and " as ' and ", since IE8 and below do not support '. This makes package html consistent with package text/template's HTMLEscape function. Fixes #3489. R=rsc, mikesamuel, dsymonds CC=golang-dev https://golang.org/cl/5992071 »»»
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by [email protected]:
The text was updated successfully, but these errors were encountered: