about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2015-12-13 23:22:17 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2015-12-13 23:22:17 -0500
commit231dc852bc6568e13b9f74ee09387637907ce91a (patch)
treeee15427d4307e969f3ff9999e3fb0e280e061dac /src
parentaf2a4476e5ade8fa0c4de65324959fdab130193b (diff)
downloadlynx-snapshots-231dc852bc6568e13b9f74ee09387637907ce91a.tar.gz
snapshot of project "lynx", label v2-8-9dev_6l
Diffstat (limited to 'src')
-rw-r--r--src/HTML.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/HTML.c b/src/HTML.c
index 69e21b24..e10efe79 100644
--- a/src/HTML.c
+++ b/src/HTML.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTML.c,v 1.165 2014/12/16 01:21:32 tom Exp $
+ * $LynxId: HTML.c,v 1.166 2015/12/13 23:08:45 Kihara.Hideto Exp $
  *
  *		Structured stream to Rich hypertext converter
  *		============================================
@@ -1681,6 +1681,22 @@ static int HTML_start_element(HTStructured * me, int element_number,
 	    HText_appendParagraph(me->text);
 	break;
 
+    case HTML_SECTION:
+    case HTML_ARTICLE:
+    case HTML_MAIN:
+    case HTML_ASIDE:
+    case HTML_HEADER:
+    case HTML_FOOTER:
+    case HTML_NAV:
+	CHECK_ID(HTML_GEN5_ID);
+	if (HText_hasToolbar(me->text))
+	    HText_appendParagraph(me->text);
+	break;
+
+    case HTML_FIGURE:
+	CHECK_ID(HTML_GEN5_ID);
+	break;
+
     case HTML_FRAMESET:
 	break;