aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/safeHTML.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/safeHTML.md')
-rw-r--r--docs/content/en/functions/safeHTML.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/functions/safeHTML.md b/docs/content/en/functions/safeHTML.md
index 240125d05..956926219 100644
--- a/docs/content/en/functions/safeHTML.md
+++ b/docs/content/en/functions/safeHTML.md
@@ -22,9 +22,9 @@ It should not be used for HTML from a third-party, or HTML with unclosed tags or
Given a site-wide [`config.toml`][config] with the following `copyright` value:
-```
+{{< code-toggle file="config" >}}
copyright = "© 2015 Jane Doe. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>."
-```
+{{< /code-toggle >}}
`{{ .Site.Copyright | safeHTML }}` in a template would then output: