Enhancement
- Better support for quoted values in attributes.
This commit is contained in:
@@ -390,9 +390,10 @@ void A3t::findAttribute ()
|
|||||||
if (n.skip (':'))
|
if (n.skip (':'))
|
||||||
{
|
{
|
||||||
std::string value;
|
std::string value;
|
||||||
if (n.getUntilEOS (value))
|
if (n.getQuoted ('"', value) ||
|
||||||
|
n.getQuoted ('\'', value) ||
|
||||||
|
n.getUntilEOS (value))
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string canonical;
|
std::string canonical;
|
||||||
if (canonicalize (canonical, "attribute", name))
|
if (canonicalize (canonical, "attribute", name))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user