Merge branch 'mxpescape' of https://github.com/titeuf87/evennia into titeuf87-mxpescape

This commit is contained in:
Griatch 2014-10-18 00:52:07 +02:00
commit 9f61f8e3bf

View file

@ -28,6 +28,10 @@ def mxp_parse(text):
"""
Replaces links to the correct format for MXP.
"""
text = text.replace("&", "&") \
.replace("<", "&lt;") \
.replace(">", "&gt;")
text = LINKS_SUB.sub(MXP_SEND, text)
return text