From 2c3740c159e21f88d81e818a755f9014c27720c8 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Wed, 9 Jul 2014 21:39:18 +0300 Subject: [PATCH] Fixed nesting elements in attributes. --- acorn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/acorn.js b/acorn.js index 53798add98..87112da42d 100644 --- a/acorn.js +++ b/acorn.js @@ -3050,6 +3050,7 @@ // standard JS token or an XJS text node inXJSChild = origInXJSChild; inXJSTag = origInXJSTag; + tokRegexpAllowed = false; expectChar('>'); return finishNode(node, "XJSClosingElement"); }