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);