emberjs/ember.js — Issue #580: Idea: Template HTML validation
Author: pixelcort
Created: 2012-03-10 00:58:16+00:00
State: open

IE8 doesn't like malformed HTML in handlebars templates. I spent 3 days trying to figure out the problem was like:

Blah

If there was a way to validate the HTML that came out of Handlebars that would be awesome.

This might already be possible to do outside ember; I'm betting there's some way to talk to the Em.View to get its HTML representation, and then put that in an HTML fragment validator myself.