From 934bddcfa682778168c24fd78c8868353d9d6e35 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 23 Feb 2014 19:28:27 +0000 Subject: Fix gap collapsing during PCDATA parsing for fragment mode. git-svn-id: https://pugixml.googlecode.com/svn/trunk@985 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 59712ae..634192a 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -1903,6 +1903,8 @@ PUGI__NS_BEGIN } else if (*s == 0) { + *g.flush(s) = 0; + return s; } else ++s; -- cgit v1.2.3