diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2006-12-14 11:56:53 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2006-12-14 11:56:53 +0000 |
commit | fd1432df886e4a3613f48dc1224f6130f87caea9 (patch) | |
tree | 2975faf665331f2dfbf8292e4c22a2f76235ddf8 /src/pugixml.cpp | |
parent | 33c540664166e3b1e5de6975e6ca8484e8bd7f05 (diff) |
Fixed strconv_t (incorrect skipping of non-escape symbols)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@24 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 6ca3185..910c082 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -268,7 +268,7 @@ namespace pugi {
while (*str)
{
- if (opt_wconv && *str == '&') break;
+ if (opt_escape && *str == '&') break;
if ((opt_wnorm || opt_wconv || opt_eol) && chartype_space(*str)) break;
++str;
}
|