Giter Site home page Giter Site logo

Comments (6)

jeromew avatar jeromew commented on July 20, 2024

Hello,

maybe it will help as I have had the exact same problem with my site.

the problem seem to arise because of the doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 

if the doctype is changed to

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 

it works.

I am not sure what corner case in the source code is invoked depending on the case of html vs HTML.

Jerome

from html5.

aredridel avatar aredridel commented on July 20, 2024

This now works!

from html5.

dreki avatar dreki commented on July 20, 2024

This works for an HTML5 doctype as well:

Fails:

<!DOCTYPE HTML>

Works:

<!DOCTYPE html>

Note that if you're using zen-coding in TextMate, html:5 produces the former. You may want to do doctype[tab] instead.

from html5.

aredridel avatar aredridel commented on July 20, 2024

Fails with the same error? (Can I get you to open a new issue if so, with the error?)

from html5.

dreki avatar dreki commented on July 20, 2024

Yes it's the same error; I'd bet it's the same exact issue. If you'd like me to open another ticket, I can do that; I was mostly just including the details in case someone who ran into my exact error found this page.

from html5.

aredridel avatar aredridel commented on July 20, 2024

Ah. Not quite the same since the other one had a public ID and such. I'd love another ticket.

from html5.

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.