diff --git a/src/parser/A3t.cpp b/src/parser/A3t.cpp index b9638e5c7..4bf5112fd 100644 --- a/src/parser/A3t.cpp +++ b/src/parser/A3t.cpp @@ -390,9 +390,10 @@ void A3t::findAttribute () if (n.skip (':')) { std::string value; - if (n.getUntilEOS (value)) + if (n.getQuoted ('"', value) || + n.getQuoted ('\'', value) || + n.getUntilEOS (value)) { - std::string canonical; if (canonicalize (canonical, "attribute", name)) {