微调HTML
This commit is contained in:
parent
6c87c55a8a
commit
c18a235d33
@ -23,8 +23,10 @@ class construct_html():
|
||||
},
|
||||
"""
|
||||
def std(str):
|
||||
str = str.replace(r'`',r'\`')
|
||||
str += ' '
|
||||
str = str.replace(r'`',r'`')
|
||||
if str.endswith("\\"): str += ' '
|
||||
if str.endswith("}"): str += ' '
|
||||
if str.endswith("$"): str += ' '
|
||||
return str
|
||||
|
||||
template_ = template
|
||||
|
Loading…
x
Reference in New Issue
Block a user