From a45e4307d377da9fbd17890a3701b443eef5b94e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 22 Apr 2018 21:52:32 +0100 Subject: Make Node::content ignore comments and CDATA. --- src/cxml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cxml.h') diff --git a/src/cxml.h b/src/cxml.h index b7f1ef5..4d01eef 100644 --- a/src/cxml.h +++ b/src/cxml.h @@ -188,7 +188,7 @@ public: return n; } - /** @return The content of this node */ + /** @return The text content of this node (including comments or CDATA) */ std::string content () const; /** @return namespace URI of this node */ -- cgit v1.2.3