Documentation ¶
Overview ¶
Noescape shows how to suppress html/template auto-escaping behavior for fields that contain trusted HTML data. (The same can be done for trusted JavaScript, CSS and URLs.) Taken from gopl.io ch4.6 Text and HTML templates.
Level: intermediate Topics: html/template, constants, security
Click to show internal directories.
Click to hide internal directories.