_html: Convert QStags at the beginning of a line and if there are more than one per line
This commit is contained in:
parent
01148dde0b
commit
d74d4d5424
2
qsgen2
2
qsgen2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user