summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2008-12-07 16:22:19 -0300
committerJorge Arellano Cid <jcid@dillo.org>2008-12-07 16:22:19 -0300
commite01ab3db2deae5f6e6348e428ffaf65d811846be (patch)
treef45bbcf325057c043a675e2d6a40ebf07df68da3
parent58aaa5c9ee0a674a1a29f95c9fe047540fc44df1 (diff)
Made the parser recognize "[^ ]/>"-terminated XML elements.
-rw-r--r--ChangeLog2
-rw-r--r--src/html.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 83d1028f..a8ed4653 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,8 @@ dillo-2.1
Patch: Justus Winter
+- Reduced warnings with gcc-4.3.
Patch: Thomas Orgis
++- Made the parser recognize "[^ ]/>"-terminated XML elements.
+ Patch: Johannes Hofmann
+- Added the "middle_click_drags_page" dillorc option.
Patch: Jorge Arellano, Thomas Orgis
+- Set the File menu label to hide when the File menu-button is shown.
diff --git a/src/html.cc b/src/html.cc
index 88607395..bc95fe09 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -3530,9 +3530,7 @@ static void Html_process_tag(DilloHtml *html, char *tag, int tagsize)
/* Test for </x>, ReqTagClose, <x /> and <x/> */
if (*start == '/' || /* </x> */
html->ReqTagClose || /* request */
- (tag[tagsize - 2] == '/' && /* XML: */
- (isspace(tag[tagsize - 3]) || /* <x /> */
- (size_t)tagsize == strlen(Tags[ni].name) + 3))) { /* <x/> */
+ tag[tagsize - 2] == '/') { /* XML */
Tags[ni].close (html, ni);
/* This was a close tag */