_html: Add missing QStags

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

12
qsgen2
View File

@ -862,6 +862,18 @@ def replace_qstags(match):
"#LT": "<",
"#GT": ">",
"#NUM": "#",
"#H1": "<h1>",
"#H2": "<h2>",
"#H3": "<h3>",
"#H4": "<h4>",
"#H5": "<h5>",
"#H6": "<h6>",
"#EH1": "</h1>",
"#EH2": "</h2>",
"#EH3": "</h3>",
"#EH4": "</h4>",
"#EH5": "</h5>",
"#EH6": "</h6>",
}
return qstag_dict.get(qstag, qstag) # Replace or return unchanged