mirror of https://gitlab.com/bashrc2/epicyon
Content not text
parent
5ef53282ba
commit
283a0f39ea
4
utils.py
4
utils.py
|
@ -5208,9 +5208,9 @@ def harmless_markup(post_json_object: {}) -> None:
|
|||
|
||||
# take out the trash
|
||||
for trash in remove_trash:
|
||||
if trash in text:
|
||||
if trash in content:
|
||||
post_json_object['object'][map_name][lang] = \
|
||||
text.replace(trash, '')
|
||||
content.replace(trash, '')
|
||||
|
||||
# remove things which would cause display issues
|
||||
if dangerous_markup(content, False, ['pre']):
|
||||
|
|
Loading…
Reference in New Issue