Commit 7ec749b
Fix MXP parser to display invalid tags instead of eating them (#8467)
<!-- Keep the title short & concise so anyone non-technical can
understand it,
the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
When the MXP parser encounters text inside angle brackets that cannot be
parsed as valid MXP (and is not a custom element), it now displays the
content as-is instead of silently removing it.
#### Motivation for adding to Mudlet
Better handle scenarios where games that do not negotiate MXP still send
it, or when players force-enable MXP on Mudlet's side when the game
isn't sending MXP to begin with.
#### Other info (issues closed, discussion etc)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Zooka <136661366+ZookaOnGit@users.noreply.github.com>1 parent b061a8c commit 7ec749b
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
175 | 182 | | |
176 | 183 | | |
177 | 184 | | |
| |||
0 commit comments