MXP text/command simple double quote escape

Escape simple double quote characters when used in MXP text/command text
This commit is contained in:
BlauFeuer 2016-10-22 14:43:32 -04:00 committed by GitHub
parent fd0f765ad5
commit ecb82a2a23

View file

@ -38,6 +38,7 @@ def mxp_parse(text):
"""
text = text.replace("&", "&") \
.replace('"', """) \
.replace("<", "&lt;") \
.replace(">", "&gt;")