diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2021-08-30 14:32:11 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2021-08-30 14:32:11 +0200 |
commit | 0cde2e461d1cca74f45586f410cf194afc5b5d15 (patch) | |
tree | 2818cdae4c7c43b2f8b5440f8eeb43491a5180c6 /layouts/shortcodes/button.html | |
parent | 4c1de2b3de979d91a51219c13b4c917c9c7fdc2e (diff) |
#370: Allow markdown in details shortcode, also change markdownify to RenderString in other shortcodes
Diffstat (limited to 'layouts/shortcodes/button.html')
-rw-r--r-- | layouts/shortcodes/button.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html index 8ac2d7e..df50d78 100644 --- a/layouts/shortcodes/button.html +++ b/layouts/shortcodes/button.html @@ -8,5 +8,5 @@ {{ $ref = relref $ . }} {{ end }} <a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" rel="noopener" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}"> - {{ $.Inner | markdownify }} + {{ .Inner | .Page.RenderString }} </a> |