entity fix in attributes

This commit is contained in:
Glenn Maynard
2007-04-17 20:40:35 +00:00
parent 565558fb6d
commit eaf717d2d7
+1 -1
View File
@@ -184,9 +184,9 @@ unsigned LoadAttributes( XNode *pNode, const RString &xml, RString &sErrorOut, u
RString sValue;
SetString( xml, iOffset, iEnd, &sValue, true );
ReplaceEntityText( sValue, g_mapEntitiesToChars );
pAttr->SetValue( sValue );
iOffset = iEnd;
ReplaceEntityText( sValue, g_mapEntitiesToChars );
if( quote == '"' || quote == '\'' )
++iOffset;