mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
Changed default text handling. Text containing only whitespace is now output, where previously it was suppressed.
All Modes tests now pass.
This commit is contained in:
parent
6a2101d6cb
commit
53c647c1a1
1 changed files with 3 additions and 0 deletions
|
@ -233,6 +233,8 @@ private:
|
|||
case DOM::Node<std::string>::ATTRIBUTE_NODE:
|
||||
case DOM::Node<std::string>::TEXT_NODE:
|
||||
case DOM::Node<std::string>::CDATA_SECTION_NODE:
|
||||
context.sink().characters(node.getNodeValue());
|
||||
/*
|
||||
{
|
||||
const std::string& ch = node.getNodeValue();
|
||||
for(std::string::const_iterator i = ch.begin(), e = ch.end(); i != e; ++i)
|
||||
|
@ -242,6 +244,7 @@ private:
|
|||
return;
|
||||
} // if ...
|
||||
}
|
||||
*/
|
||||
break;
|
||||
default:
|
||||
;// nothing!
|
||||
|
|
Loading…
Reference in a new issue