mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge branch 'mxpescape' of https://github.com/titeuf87/evennia into titeuf87-mxpescape
This commit is contained in:
commit
9f61f8e3bf
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ def mxp_parse(text):
|
|||
"""
|
||||
Replaces links to the correct format for MXP.
|
||||
"""
|
||||
text = text.replace("&", "&") \
|
||||
.replace("<", "<") \
|
||||
.replace(">", ">")
|
||||
|
||||
text = LINKS_SUB.sub(MXP_SEND, text)
|
||||
return text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue