&
Comment on Hey I'm trying to abbreviate here
WoodenBleachers@lemmy.basedcount.com 2 years ago
Not sure why the devs have so much trouble with parsing this. I’m not sure if it’s an API thing or a front-end issue
db2@sopuli.xyz 2 years ago
Comment on Hey I'm trying to abbreviate here
WoodenBleachers@lemmy.basedcount.com 2 years ago
Not sure why the devs have so much trouble with parsing this. I’m not sure if it’s an API thing or a front-end issue
&
dual_sport_dork@lemmy.world 2 years ago
Something 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.
WoodenBleachers@lemmy.basedcount.com 2 years ago
I know, just sanitize it again. .Replace(“&”, &), Regex.Remove(amp;), if(.Contains(“amp;”))
ChaoticNeutralCzech@feddit.de 2 years ago
The same with < and
<pleaseBlack616Angel@feddit.de 2 years ago
No. This is just escaped html. So you can just unescape it like every other html.
AnotherRyguy@lemmy.world 2 years ago
Please be kidding lol
onion@feddit.de 2 years ago
Theres a git issue on this