Giter Site home page Giter Site logo

Comments (1)

luketw avatar luketw commented on May 18, 2024

Thank you for your reports.

The main part of the issue seems to relate to a " " entity placed in the gap in the "X Errors, Y Warnings" message on the issue list. When parsed as XHTML instead of XML, entities like nbsp don't exist, so the browser is throwing a DOM processing error. This can probably be fixed by changing it to " " instead, and I'll look at getting it fixed in the next release.

The differences between IE8 and IE9/Firefox/Chrome may be due to the different methods of processing the document into the DOM compared with newer browsers. Certainly if it is sent and parsed as XHTML, there is no room for browser interpretation on parsing, unlike plain HTML.

In Chrome, Firefox and IE9 I get 6/33/72 (errors/warnings/notices) in each, IE8 I get slightly different. Unfortunately this is not something that can easily be worked around, since HTMLCS works on the DOM, not on the source code.

from html_codesniffer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.