_html: Convert QStags at the beginning of a line and if there are more than one per line

This commit is contained in:
Stig-Ørjan Smelror 2024-02-01 13:31:28 +01:00
parent 01148dde0b
commit d74d4d5424

2
qsgen2
View File

@ -881,7 +881,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''', flags=re.MULTILINE)
print(result)
EOF