mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
calculate proper node value when it has entity ref children
This commit is contained in:
parent
6dd167b363
commit
a71a89e918
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class AttrImpl : public DOM::Attr_impl<stringT, string_adaptorT>,
|
|||
{
|
||||
stringT value;
|
||||
for(DOMNode_implT* c = firstChild; c != 0; c = c->getNextSibling())
|
||||
if(c->getNodeType() == Node_base::ENTITY_REFERENCE_NODE)
|
||||
if(c->getNodeType() == DOM::Node_base::ENTITY_REFERENCE_NODE)
|
||||
string_adaptorT::append(value, concatNodes(c->getFirstChild()));
|
||||
else
|
||||
string_adaptorT::append(value, c->getNodeValue());
|
||||
|
|
Loading…
Reference in a new issue