mirror of
https://github.com/github/codeql.git
synced 2026-01-30 23:02:56 +01:00
Apply suggestions from code review
Co-authored-by: Sauyon Lee <sauyon@github.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<p>
|
||||
In Go, the <code>html/template</code> package has a few special types
|
||||
(<code>HTML</code>, <code>HTMLAttr</code>, <code>JS</code>, <code>JSStr</code>, <code>CSS</code>,
|
||||
<code>Srcset</code>, <code>URL</code>)
|
||||
<code>Srcset</code>, and <code>URL</code>)
|
||||
that allow values to be rendered as-is in the template, avoiding the escaping that all the other strings go
|
||||
through.
|
||||
</p>
|
||||
@@ -25,4 +25,4 @@
|
||||
</p>
|
||||
<sample src="HTMLTemplateEscapingPassthroughGood.go" />
|
||||
</example>
|
||||
</qhelp>
|
||||
</qhelp>
|
||||
|
||||
Reference in New Issue
Block a user