summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-08-05 23:30:26 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-08-05 23:30:26 -0400
commit5ea64c055392281a0e8cabbd08692c41220bb9fc (patch)
tree5a3a0513dc426c6694a39c25596b9ac05bad1c4d
parentbf2048dd083d17dde1b00b50efcb8e694a1b383c (diff)
Fixed a bug with OPTION element (it was parsing entities twice)
-rw-r--r--ChangeLog1
-rw-r--r--src/form.cc3
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 97c8831e..62aa345c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}
}