diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-03-09 20:21:17 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-03-09 20:21:17 +0100 |
commit | 6b61f2a5bbd3f7371775b94ae539d82896e686c9 (patch) | |
tree | a5f5d312d20a74709021cc434e3ec9f25f1e7782 /docs/content/en/getting-started/configuration-markup.md | |
parent | 6cceef65c2f4b7c262bf67a249867658112b6de4 (diff) | |
parent | 14e369b961943a0b977776899e24e8bea63834df (diff) |
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
Diffstat (limited to 'docs/content/en/getting-started/configuration-markup.md')
-rw-r--r-- | docs/content/en/getting-started/configuration-markup.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md index c69bbb6ed..09816676a 100644 --- a/docs/content/en/getting-started/configuration-markup.md +++ b/docs/content/en/getting-started/configuration-markup.md @@ -134,7 +134,7 @@ PlainText Here is a code example for how the render-link.html template could look: {{< code file="layouts/_default/_markup/render-link.html" >}} -<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a> +<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a> {{< /code >}} #### Image Markdown example: |