From 76aebac4d1c4a6632ba29709e6f85025ce40806a Mon Sep 17 00:00:00 2001 From: A McIlwraith Date: Thu, 23 Apr 2026 19:42:41 -0400 Subject: [PATCH] Update pattern master header function --- src/pg/core/_master-pattern.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pg/core/_master-pattern.pug b/src/pg/core/_master-pattern.pug index ee6e6e7..3ad42fe 100644 --- a/src/pg/core/_master-pattern.pug +++ b/src/pg/core/_master-pattern.pug @@ -6,10 +6,10 @@ include ../_config block config mixin h(h, p = null) + - text = headings[h] if p !== null - - text = headings[h].replace(/\*\*/g, p) - else - - text = headings[h] + - text = text.replace(/\*\*/g, p) + if text if text.indexOf("|") == -1