Commit b149f96f authored by Antoine Cellerier's avatar Antoine Cellerier

Oops.

parent 423954f0
......@@ -381,13 +381,13 @@ void resolve_xml_special_chars( char *psz_value )
if( !strncmp( psz_value1, src, len ) ) \
{ \
*p_pos = dst; \
psz_value += len; \
psz_value += len + 1; \
}
TRY_CHAR( "lt;", 4, '<' )
else TRY_CHAR( "amp;", 5, '&' )
else TRY_CHAR( "apos;", 6, '\'' )
else TRY_CHAR( "gt;", 4, '>' )
else TRY_CHAR( "quot;", 6, '"' )
TRY_CHAR( "lt;", 3, '<' )
else TRY_CHAR( "amp;", 4, '&' )
else TRY_CHAR( "apos;", 5, '\'' )
else TRY_CHAR( "gt;", 3, '>' )
else TRY_CHAR( "quot;", 5, '"' )
#undef TRY_CHAR
else if( *psz_value1 == '#' )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment