Fix handling of % signs in textarea initial value. (Fixes 1617123)

svn path=/trunk/netsurf/; revision=3180
This commit is contained in:
John Mark Bell 2007-02-11 23:21:05 +00:00
parent d1b79f3e41
commit e57a90e91c

View File

@ -2476,7 +2476,7 @@ bool box_textarea(BOX_SPECIAL_PARAMS)
if (ctxt) {
string = current = xmlStringDecodeEntities(ctxt,
buf->content,
XML_SUBSTITUTE_REF | XML_SUBSTITUTE_PEREF,
XML_SUBSTITUTE_REF,
0, 0, 0);
xmlFreeParserCtxt(ctxt);
}