From fec0a62b74e45acfe28861ee6eddf493a2be5f74 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Mon, 19 May 2025 05:58:05 +0000
Subject: [PATCH] fix(ofm): allow wikilink alias to be empty (#1984)
---
quartz/plugins/transformers/links.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts
index b6a2c91..3e8dbde 100644
--- a/quartz/plugins/transformers/links.ts
+++ b/quartz/plugins/transformers/links.ts
@@ -65,7 +65,9 @@
type: "element",
tagName: "svg",
properties: {
+ "aria-hidden": "true",
class: "external-icon",
+ style: "max-width:0.8em;max-height:0.8em",
viewBox: "0 0 512 512",
},
children: [
--
Gitblit v1.10.0