Fix an issue with "sbase print FILE" for ".md" files

This commit is contained in:
Michael Mintz 2024-02-29 22:21:14 -05:00
parent 7105107fd4
commit 94d2a8cf2f
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ def main():
all_code = all_code.replace("</b>", "**")
if "<code>`" not in all_code and "`<code>" not in all_code:
if "</code>`" not in all_code and "`</code>" not in all_code:
all_code = all_code.replace('<code translate="no">', "``")
all_code = all_code.replace("<code>", "``")
all_code = all_code.replace("</code>", "``")
# Display ALL <h> tags as an <h1> because the font size is fixed