diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/form.cc | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -15,6 +15,7 @@ dillo-2.2 [??] - Changed the CCCs to build in one step (for both HTTP and DPI). This is simpler and helps to avoid race conditions. - Updated CCCwork.txt to the new scheme. + - Fixed a bug with OPTION element (it was parsing entities twice). Patches: Jorge Arellano Cid +- Fix segfault from AREA when MAP is missing name attribute. - Fix image map coordinates when margin/border/padding present. diff --git a/src/form.cc b/src/form.cc index 751f5143..1575dfe4 100644 --- a/src/form.cc +++ b/src/form.cc @@ -1933,7 +1933,6 @@ static void Html_option_finish(DilloHtml *html) input->type == DILLO_HTML_INPUT_SEL_LIST) { DilloHtmlOption *option = input->select->getCurrentOption (); - option->content = - a_Html_parse_entities(html, html->Stash->str, html->Stash->len); + option->content = dStrndup(html->Stash->str, html->Stash->len); } } |