Theres a git issue on this
Comment on Hey I'm trying to abbreviate here
dual_sport_dork@lemmy.world 1 year agoSomething somewhere is running an htmlspecialchars()
or equivalent on whatever you input, probably as an attempt at “sanitizing” the text entered in titles/posts/comments. You know, to keep me from just inserting into a comment and have it to something naughty to anyone who loads the page.
I’m certain these are being stored in the database as an &, but they’re not being decoded back into an ampersand character upon display.
onion@feddit.de 1 year ago
WoodenBleachers@lemmy.basedcount.com 1 year ago
I know, just sanitize it again. .Replace(“&”, &), Regex.Remove(amp;), if(.Contains(“amp;”))
ChaoticNeutralCzech@feddit.de 1 year ago
The same with < and
<
pleaseBlack616Angel@feddit.de 1 year ago
No. This is just escaped html. So you can just unescape it like every other html.
AnotherRyguy@lemmy.world 1 year ago
Please be kidding lol