One of the problems of using the XHTML 1.1 doctype is the fact that your pages need to be completely valid in order to be displayed. If there is one single error in the XHTML code, the browser will display an error message. This in difference with HTML and XHTML 1.0 pages, which browsers will try to show even if the code contains errors.
Of course, all my templates contain valid code, but the problem comes when I or my commenters use code in my texts. It is always the parts that are not automated where the problems appear :-(
The number one error screwing up my valid pages is the use of ampersands (&
). Since ampersands have a special meaning in XHTML, you’ll have to enter the entity code &
to display an ampersand.
In my texts I don’t use many ampersands, but many URL´s do contain ampersands. And usually URL’s are simply copied and pasted from the browser address bar, without verifying the address, resulting in an error message instead of a link.
But now I hope I solved this problem. I just installed the latest version of the SafeHref plugin, which automagically repairs this error.
Safe href
Jeroen Sangers
@jeroensangers