0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 09:57:57 +08:00

Fixed strconv_t (incorrect skipping of non-escape symbols)

git-svn-id: http://pugixml.googlecode.com/svn/trunk@24 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2006-12-14 11:56:53 +00:00
parent 33c5406641
commit fd1432df88

View File

@ -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;
}