_html: Refine Python code

This commit is contained in:
Stig-Ørjan Smelror 2024-02-01 13:22:47 +01:00
parent 42bfda8d0a
commit fd184be8b5

3
qsgen2
View File

@ -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