Merge branch 'patch-1' of https://github.com/BlauFeuer/evennia into BlauFeuer-patch-1
This commit is contained in:
commit
3de2e649a1
2 changed files with 4 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ LINKS_SUB = re.compile(r'\|lc(.*?)\|lt(.*?)\|le', re.DOTALL)
|
|||
MXP = "\x5B"
|
||||
MXP_TEMPSECURE = "\x1B[4z"
|
||||
MXP_SEND = MXP_TEMPSECURE + \
|
||||
"<SEND HREF='\\1'>" + \
|
||||
"<SEND HREF=\"\\1\">" + \
|
||||
"\\2" + \
|
||||
MXP_TEMPSECURE + \
|
||||
"</SEND>"
|
||||
|
|
@ -38,6 +38,7 @@ def mxp_parse(text):
|
|||
|
||||
"""
|
||||
text = text.replace("&", "&") \
|
||||
.replace('"', """) \
|
||||
.replace("<", "<") \
|
||||
.replace(">", ">")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue