diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 5a540b4..a6f52a1 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1,2 @@ -{{ .Text | safeHTML }} +{{ $raw := or (hasPrefix .Text "{{ .Text | safeHTML }} diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 119086d..4ce0085 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -15,7 +15,7 @@