_html: Refine Python code
This commit is contained in:
parent
42bfda8d0a
commit
fd184be8b5
3
qsgen2
3
qsgen2
@ -869,7 +869,7 @@ def replace_qstags(match):
|
|||||||
pattern = r'#\w+'
|
pattern = r'#\w+'
|
||||||
|
|
||||||
# Replace QStags using the defined function
|
# Replace QStags using the defined function
|
||||||
result = re.sub(pattern, replace_qstags, '$content')
|
result = re.sub(pattern, replace_qstags, '''$content''')
|
||||||
|
|
||||||
print(result)
|
print(result)
|
||||||
EOF
|
EOF
|
||||||
@ -883,6 +883,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Time to test the first function
|
# Time to test the first function
|
||||||
#_msg std "Running function blogs"
|
#_msg std "Running function blogs"
|
||||||
_blogs
|
_blogs
|
||||||
|
Loading…
Reference in New Issue
Block a user