I feel like whenever I see the ampersand on this website, it’s followed with “amp;”. I’ve noticed it other places on the internet also. Why does this happen? Is it some programming thing?
Just for a test: &
I feel like whenever I see the ampersand on this website, it’s followed with “amp;”. I’ve noticed it other places on the internet also. Why does this happen? Is it some programming thing?
Just for a test: &
But, shouldn’t this have been a solved problem like, back in the 90s? Why is it that modern software like Lemmy still has issues with it?
There are good reasons why software may wish to ignore escape characters, but this likely comes down to human error. There are many programming problems that have been solved for decades, but occasionally you’ll still see them appear in newer software for that reason.
From my own work, I certainly have code that isn’t 100% right, but it works well enough that I instead spend my time in other areas.
The problem usually lies with the client rendering the text (maybe due to lack of documentation of the api providing the text). The client needs to be aware that the text it is rendering is html encoded, so it can enable html decoding. The Lemmy clients did not exist in the 90s.