From fd184be8b55fc7f7702822239a1bac7a8481ac87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 13:22:47 +0100 Subject: [PATCH] _html: Refine Python code --- qsgen2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 8109668..e03687d 100755 --- a/qsgen2 +++ b/qsgen2 @@ -869,7 +869,7 @@ def replace_qstags(match): pattern = r'#\w+' # Replace QStags using the defined function -result = re.sub(pattern, replace_qstags, '$content') +result = re.sub(pattern, replace_qstags, '''$content''') print(result) EOF @@ -883,6 +883,7 @@ EOF + # Time to test the first function #_msg std "Running function blogs" _blogs