aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/en/templates/render-hooks.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/templates/render-hooks.md')
-rw-r--r--content/en/templates/render-hooks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/en/templates/render-hooks.md b/content/en/templates/render-hooks.md
index 8e174bdee..f91cb6b6e 100644
--- a/content/en/templates/render-hooks.md
+++ b/content/en/templates/render-hooks.md
@@ -128,7 +128,7 @@ Here is a code example for how the render-image.html template could look:
Given this template file
{{< code file=layouts/_default/_markup/render-heading.html >}}
-<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}">¶</a></h{{ .Level }}>
+<h{{ .Level }} id="{{ .Anchor }}">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}">¶</a></h{{ .Level }}>
{{< /code >}}
And this markdown