entity fix in attributes
This commit is contained in:
@@ -184,9 +184,9 @@ unsigned LoadAttributes( XNode *pNode, const RString &xml, RString &sErrorOut, u
|
|||||||
|
|
||||||
RString sValue;
|
RString sValue;
|
||||||
SetString( xml, iOffset, iEnd, &sValue, true );
|
SetString( xml, iOffset, iEnd, &sValue, true );
|
||||||
|
ReplaceEntityText( sValue, g_mapEntitiesToChars );
|
||||||
pAttr->SetValue( sValue );
|
pAttr->SetValue( sValue );
|
||||||
iOffset = iEnd;
|
iOffset = iEnd;
|
||||||
ReplaceEntityText( sValue, g_mapEntitiesToChars );
|
|
||||||
|
|
||||||
if( quote == '"' || quote == '\'' )
|
if( quote == '"' || quote == '\'' )
|
||||||
++iOffset;
|
++iOffset;
|
||||||
|
|||||||
Reference in New Issue
Block a user