summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value.cc b/src/value.cc
index 63719266..12c6379d 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -30,7 +30,7 @@
*/
#include "value.h"
-#include "xml.h"
+#include "node.h"
namespace ledger {
@@ -1610,7 +1610,7 @@ std::ostream& operator<<(std::ostream& out, const value_t& val)
if (val.as_xml_node()->has_flags(XML_NODE_IS_PARENT))
out << '<' << val.as_xml_node()->name() << '>';
else
- out << val.as_xml_node()->text();
+ out << val.as_xml_node()->to_value();
break;
case value_t::POINTER: