matrix-org / matrix-rich-text-editor

Matrix Rich Text Editor
https://matrix-org.github.io/matrix-rich-text-editor/
Apache License 2.0
82 stars 19 forks source link

Escape text used for mentions and links #988

Closed jmartinesp closed 2 weeks ago

jmartinesp commented 2 weeks ago

Fixes https://github.com/matrix-org/matrix-rich-text-editor/issues/986

jmartinesp commented 2 weeks ago

I actually wanted to do this at a more internal level, but at that point the String passed to the RTE is now a Utf16String and html_escape won't work on that.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud