1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Bug 816, html_textarea: Expand entity references.

Because the renderer no longer does that.
The comment "We don't cope well with entities here" may now be
obsolete but I'm not sure about that so I'm leaving it in.
This commit is contained in:
Kalle Olavi Niemitalo 2007-04-30 02:10:25 +03:00 committed by Kalle Olavi Niemitalo
parent a58345f4e7
commit 68ff5a8d61

View File

@ -648,7 +648,9 @@ pp:
fc->id = get_attr_val(attr, "id", html_context->doc_cp);
fc->name = get_attr_val(attr, "name", html_context->doc_cp);
fc->default_value = memacpy(html, p - html);
fc->default_value = convert_string(NULL, html, p - html,
html_context->doc_cp,
CSM_DEFAULT, NULL, NULL, NULL);
for (p = fc->default_value; p && p[0]; p++) {
/* FIXME: We don't cope well with entities here. Bugzilla uses
* 
 inside of textarea and we fail miserably upon that