Comparing version 0.3.0 to 0.3.1
@@ -275,2 +275,3 @@ var compile = (function(){ | ||
} | ||
stack.push('html:' + node.name); | ||
stack.push(node.name in short_tags ? 'shorttag' : 'tag'); | ||
@@ -339,2 +340,4 @@ opentag = true; | ||
section.source += '__fest_pushstr(' + context_name + ','; | ||
} else if(node.__fest_output === 'html' && stack.indexOf('html:script') != -1) { | ||
section.source += '__fest_pushstr(' + context_name + ',__fest_escapeJS('; | ||
} else if(node.__fest_output === 'js') { | ||
@@ -440,2 +443,3 @@ section.source += '__fest_pushstr(' + context_name + ',__fest_escapeJS('; | ||
if (node.ns[node.prefix] != fest_ns){ | ||
stack.pop(); | ||
if (!(node.name in short_tags)){ | ||
@@ -442,0 +446,0 @@ section.source += '__fest_pushstr(' + context_name + ',"</' + node.name + '>");'; |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["template", "templating", "html", "xml"], | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
205175
2702