Comments (2)
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.
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)
- Ternary operator with undefined variables HOT 1
- JSONP support
- Please make the EJS construtor accept element's of type "script" HOT 1
- "EJS is not defined" in Internet Explorer 9 HOT 1
- Uncaught TypeError: Cannot read property '0' of undefined HOT 1
- Link is removed from inside to outside of the span when template renders
- htmlentities HOT 1
- EJS introduces global variables HOT 1
- Update function with differend templates
- Will EJS work alongside ASP.NET?
- EJS.update from json url HOT 1
- EJS.update from json callback
- Can no longer have a helper that begins with "include"
- .update function with only element as function parameter fails
- Render pre-compiled ejs
- Error compiling with Closure Compiler
- EJS transforms primitive values into objects
- Push html content into template
- There is no template at Error in Internet Explorer 11 HOT 1
- How do you include a static html page in an ejs template?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
,
,
in templates cause "unspecified" error in i.e. 7.
from embeddedjavascript.