From af14ca7c4f754b07a5f32efc5265632f539ef103 Mon Sep 17 00:00:00 2001
From: KurekMartin <79570332+KurekMartin@users.noreply.github.com>
Date: Fri, 04 Oct 2024 16:10:40 +0000
Subject: [PATCH] i18n: add Czech translation (#1477)

---
 quartz/plugins/transformers/ofm.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/plugins/transformers/ofm.ts b/quartz/plugins/transformers/ofm.ts
index 0dea893..dd743b6 100644
--- a/quartz/plugins/transformers/ofm.ts
+++ b/quartz/plugins/transformers/ofm.ts
@@ -324,8 +324,8 @@
             replacements.push([
               tagRegex,
               (_value: string, tag: string) => {
-                // Check if the tag only includes numbers
-                if (/^\d+$/.test(tag)) {
+                // Check if the tag only includes numbers and slashes
+                if (/^[\/\d]+$/.test(tag)) {
                   return false
                 }
 

--
Gitblit v1.10.0