diff --git a/stepmania/src/XmlFileUtil.cpp b/stepmania/src/XmlFileUtil.cpp index edf2c146f0..cf4db72e8c 100644 --- a/stepmania/src/XmlFileUtil.cpp +++ b/stepmania/src/XmlFileUtil.cpp @@ -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;