From c41138191de2045621b9974c3c6b84be35ed871b Mon Sep 17 00:00:00 2001 From: Jodie Putrino Date: Fri, 14 Jul 2023 15:50:36 -0600 Subject: [PATCH] Update markdown rendering layouts to remove recursion error and add image processing --- layouts/_default/_markup/render-image.html | 3 +++ layouts/_default/_markup/render-link.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 layouts/_default/_markup/render-image.html diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..0f33dc8 --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,3 @@ +

+ {{ .Text }} +

\ No newline at end of file diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 41bdc0d..868f0e8 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1 @@ -{{ .Text | markdownify }} \ No newline at end of file +{{ .Text | safeHTML }} \ No newline at end of file