Emile Bangma
2024-09-15 cd3bb25626beca6e7e2149320773628f39d31af0
fix: account for subtags in numerical tags (closes #1408) (#1410)

1 files modified
4 ■■■■ changed files
quartz/plugins/transformers/ofm.ts 4 ●●●● patch | view | raw | blame | history
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
                }