微调HTML

这个提交包含在:
binary-husky
2023-10-18 18:26:19 +08:00
父节点 6c87c55a8a
当前提交 c18a235d33

查看文件

@@ -23,8 +23,10 @@ class construct_html():
}, },
""" """
def std(str): def std(str):
str = str.replace(r'`',r'\`') str = str.replace(r'`',r'`')
str += ' ' if str.endswith("\\"): str += ' '
if str.endswith("}"): str += ' '
if str.endswith("$"): str += ' '
return str return str
template_ = template template_ = template