3 ms·
You have a few escaping issues, that Firefox nicely hi-lights if you view the source. For example, if the title of an article contains a ", you don't quote it,
by mike-cardwell 14y ago
You have a few escaping issues, that Firefox nicely hi-lights if you view the source. For example, if the title of an article contains a ", you don't quote it, so in the html you end up with attributes like this:
title="something "something else""
You also don't escape ampersands. Eg:
<a href="http://example.com/foo?x=1&y=2">x & y</a>
Should be:
<a href="http://example.com/foo?x=1&y=2">x & y</a>
I imagine there is a more general issue with a lack of escaping, but these are just a couple of examples I found.
- brador 14y agoI saw these issues last night but couldn't work out what was causing them. Thanks for the explanations Mike, added to todo. Update: Fixed. I think, but those & are still showing up red in source.