From 18e0e7577a9f3fa5cad5ef04fa8f540528bdcb89 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 23 May 2021 15:09:01 +0200 Subject: [PATCH] fix: enforce css overwrite for raw links (#36) --- layouts/_default/_markup/render-link.html | 2 +- layouts/shortcodes/img.html | 2 +- src/sass/_base.scss | 14 -------------- src/sass/_markdown.scss | 15 +++++++++++++++ 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 14e975a..0b1de0c 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,3 +1,3 @@ {{- $raw := or (hasPrefix .Text "{{ .Text | safeHTML }} +{{ .Text | safeHTML }} {{- /* Drop trailing newlines */ -}} diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index a0a45ea..8ff093a 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -15,7 +15,7 @@