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
actually, saw that noescape no longer exists... the described workaround (a template.HTML variable) assumes control of the go code processing the template, but would not work if a template author needed to use comments in a template, and the go code had not provided a BeginComment var containing <!--
This breaks templates that rely on things like conditional comments for adding classes.
Example:
renders:
http://play.golang.org/p/MM27D4Qj9j
The behavior of dropping all content inside comments is also undocumented at https://golang.org/pkg/html/template/
The text was updated successfully, but these errors were encountered: