Re: bug in the checker - it read inside quoted href text and complaining about operands

On 31 Aug 2013, at 16:29, Thomas W. Lynch wrote:
> 264  <a href="http://abcnews.go.com/TheLaw/story?id=4678143&page=1">
> FLDS Scandal</a>
>
> 1. Error general entity X not defined and no default entity

That is not a bug. An & character indicates the start of a entity 
reference, and being inside an href attribute doesn't change that.

The validator even explicitly says "The most common cause of this error 
is unencoded ampersands in URLs".

Represent your & as &amp;.


-- 
David Dorward
http://dorward.co.uk/

Received on Monday, 2 September 2013 22:37:09 UTC