diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2025-06-28 13:35:05 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2025-06-28 13:35:05 +0200 |
commit | cb491c53f7cc7d8c382aadf5081f7603c1a92d4c (patch) | |
tree | 7dd178466ddaca0228c4e6db6580aac53549ce76 /phpsec/PHP | |
parent | e6c8c477218d6ae2785e18020e866463d231fe21 (diff) | |
download | volse-hubzilla-cb491c53f7cc7d8c382aadf5081f7603c1a92d4c.tar.gz volse-hubzilla-cb491c53f7cc7d8c382aadf5081f7603c1a92d4c.tar.bz2 volse-hubzilla-cb491c53f7cc7d8c382aadf5081f7603c1a92d4c.zip |
Prevent mentions from mangling by markdown parser
Mentioning people whose handles include valid markdown would not survive
markdown to bbcode conversion wihout being mangled. An example that
brought this to my attention was a handle similar to this:
_someuser_@testsite.example
The underscores would be interpreted as emphasis in markdown, and
converted to:
[i]someuser[/i]@testsite.example
This patch should fix this, and hopefully any other issue with mentions
being mangled.
Diffstat (limited to 'phpsec/PHP')
0 files changed, 0 insertions, 0 deletions