mirror of https://github.com/docker/docs.git
hugo: fix html escape for headings
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
79e8462366
commit
2284afe898
|
@ -1,6 +1,6 @@
|
||||||
{{ partial "heading.html" (dict
|
{{ partial "heading.html" (dict
|
||||||
"level" .Level
|
"level" .Level
|
||||||
"text" (plainify .Text)
|
"text" (.Text | plainify | safeHTML)
|
||||||
"id" (.Attributes.id | default .Anchor)
|
"id" (.Attributes.id | default .Anchor)
|
||||||
"class" .Attributes.class
|
"class" .Attributes.class
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue