Bug: Quotemarks in Links
-
It seems that sometime between 1.3a3 and the current nightly something changed in the way that user-entered links and links for archive pages are turned into HTML. It causes pages to no longer validate.
Previously, they were as such:
<img src="https://www.solvingnormal.com/images/wp.gif" alt="WordPress" title="Powered by WordPress" />
Now, they have single quotemarks:
<img src='https://www.solvingnormal.com/images/wp.gif' alt='WordPress' title='Powered by WordPress' />
The problem arises when the title or alt text has an apostrophe/single quote mark in it, because it’s seen as the closing mark for the tag property and the validator gives errors.
(Example of problem tag:)
If I can clarify this at all, please let me know. Or if this is meant to be this way for a reason, and there’s something I should be doing differently, let me know that too.
(The href tags for the archive page links have been changed to single quotemarks as well)
- The topic ‘Bug: Quotemarks in Links’ is closed to new replies.