Safe href

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.

Leave a comment

mensuales Archives

Recent Entries

  • Manifiesto «En defensa de los derechos fundamentales en internet»

    Ante la inclusión en el Anteproyecto de Ley de Economía sostenible de modificaciones legislativas que afectan al libre ejercicio de las libertades de expresión, información...

  • Commenting not possible

    I just discovered that it currently is not possible to comment on this blog. At first sight it looks like the problem is caused...

  • Back from the CeBIT

    I am back from the CeBIT show. Actually, I came back on Monday, but have been too busy to post. This year has been...

  • Downloading viruses?

    I just saw the screen above, which is the ClamWin antivirus software uploading its virus database. On the left hand side they have an animation...

  • New: Google Notebook

    I know that Spain usually lags behind the rest of the world, but Google Spain really doesn't know what is going on. While all...

Close