diff --git a/modules/blox-tailwind/layouts/partials/blox/markdown.html b/modules/blox-tailwind/layouts/partials/blox/markdown.html index 98bf10c8..ccf066b5 100644 --- a/modules/blox-tailwind/layouts/partials/blox/markdown.html +++ b/modules/blox-tailwind/layouts/partials/blox/markdown.html @@ -6,7 +6,7 @@ {{ $page := .wcPage }} {{ $block := .wcBlock }} {{ $title := $block.content.title | emojify | $page.RenderString }} -{{ $text := $block.content.text | emojify | $page.RenderString }} +{{ $text := $block.content.text | emojify | $page.RenderString | safeHTML }}
@@ -14,5 +14,6 @@ {{ $title }}
- {{ with $text }}

{{ . }}

{{ end }} + {{/* We use DIV rather than P to support `prose` class and multiple paragraphs */}} + {{ with $text }}
{{ . }}
{{ end }}