squizlabs/HTML_CodeSniffer — pull request #55 by lwright-sq (2012-10-26 02:33:01+00:00)
Title: Fixes for issues #52 and #53

(#52) - test for technique H30. Was throwing a false positive when an anchor contained an img without alt text, and also other text, but no other tag (such as a span around the text).

(#53) - replace nbsp with unicode code point 160, to make HTMLCS work on pages parsed as pure XHTML (in Firefox/Webkit/IE9+). The nbsp entity isn't defined by default in XML-based languages.