mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 09:16:32 +01:00
MXP tags to use double quote instead of single
This works around the problem of having to escape single quotes (apostrophes) in MXP commands or texts, but then requires (simple) double quotes to be escaped.
This commit is contained in:
parent
6a7431d784
commit
fd0f765ad5
1 changed files with 1 additions and 1 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>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue