From ebaca3607d731610195a68d2866d52b7bb60506d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 14 Jun 2014 15:23:49 -0400 Subject: [PATCH] Parser - ::findAttributeModifier removes unnecessarily lexed sub-branches. --- src/Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Parser.cpp b/src/Parser.cpp index 6094b2455..8e1fa88ff 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -942,6 +942,7 @@ void Parser::findAttributeModifier () value = "''"; (*i)->unTag ("?"); + (*i)->removeAllBranches (); (*i)->tag ("ATTMOD"); (*i)->attribute ("name", canonical); (*i)->attribute ("raw", value);