&
Comment on Hey I'm trying to abbreviate here
WoodenBleachers@lemmy.basedcount.com 1 year 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 1 year ago
Comment on Hey I'm trying to abbreviate here
WoodenBleachers@lemmy.basedcount.com 1 year 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 1 year 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 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
onion@feddit.de 1 year ago
Theres a git issue on this