Contents

[edit]

Tidy: error: <...> escaping malformed URI reference

[edit]

Cause:

An URI contains non-authorized characters. Or the quotes around the URI are not closed.

[edit]

Example:

error: <a> escaping malformed URI reference

Good<a href="http://www.mozilla.org/one space.html">space</a>
Good<a href="http://www.mozilla.org/one%20space.html">space</a>
Good<a href="http://www.mozilla.org/one+space.html">space</a>
Good<a href="http://www.w3c.org>w3c</a>
Good<a href="http://www.w3c.org">w3c</a>
[edit]

Solution:

Correct the URI. For the first example, a space should not be contained in URL. (Even if it works in all browsers...). This is described detailed in the RFC1738 (Look for Unsafe)

[edit]

References:

Retrieved from "http://www.htmlpedia.org/wiki/Tidy_64"