You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
codeHTML now returns safehtml.HTML instead of template.HTML
CodeHTML, which wraps codeHTML, must still return a template.HTML
until the main template uses safehtml/template. Otherwise
double-escaping will occur, where " is first replaced by "
and then by ".
Updates golang/go#39959.
Change-Id: I067bbfaad8292d1098c5438075631d3e166d0a2f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/240515
Reviewed-by: Julie Qiu <julie@golang.org>
Use github.com/google/safehtml instead.
The text was updated successfully, but these errors were encountered: