From 0407268775882f7a86a185631018ba980c11a107 Mon Sep 17 00:00:00 2001
From: 1enu <140404651+1enu@users.noreply.github.com>
Date: Tue, 5 Mar 2024 19:08:56 +0800
Subject: [PATCH] :bug: Fix blank blank character prefix on links
Caused by the "prettier-ignore" comment. Workaround is to remove the blank character using a comment template.
---
layouts/_default/_markup/render-link.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 00f1874a..2e002998 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -15,4 +15,5 @@
{{ end -}}
{{ end -}}
-{{- .Text | safeHTML -}}
\ No newline at end of file
+{{- /* the two "-" around this block removes the newline introduced by the HTML comment above */ -}}
+{{- .Text | safeHTML -}}