Giter Club home page Giter Club logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Have you tried closing the tags?  I'm pretty sure if you insert correct HTML, 
it should 
work.

Marking it as WontFix until I hear back.

Original comment by [email protected] on 12 Mar 2010 at 3:21

  • Changed state: WontFix

from embeddedjavascript.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
I can confirm this behavior.  With both an opening and closing header tag (and 
nothing else in the template) I receive an "Unknown runtime error" in IE 7.  
This is the content of my ejs file:

 <h1>fail</h1>

I'll poke around a bit more. The line given is 120 when setting the 
element.innerHTML (I verified the render works correctly).  As a matter of fact 
simply setting the innerHTML to:
  <h1>fail</h1>  
as a hard coded string with an emplate template will cause the same error.

Apparently IE7 doesn't like the H1 tag inside of a DIV tag.  If you change the 
target render area to be (for example) the body tag itself, then everything 
works... since the body tag is obviously allowed to have h1 tags in it.

Not as useful as targetting a div, and as far as I knew divs can contain h1 
tags.

Original comment by [email protected] on 4 Jan 2012 at 9:36

from embeddedjavascript.

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.