aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-31 23:33:15 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-03-31 23:45:46 +0200
commitb55dc711c6c4d8bc47b7ac2c9cf303c4dbf822f3 (patch)
treec8c9d43026481cd76ec15644a468cd2865520204 /src/html.cc
parentc54576fb442f1198b70fc7f3021d2bbeaa2fc045 (diff)
Add support for the main HTML tag
Fixes: https://github.com/dillo-browser/dillo/issues/109
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc
index d8debb4a..c0d4d388 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2,6 +2,7 @@
* File: html.cc
*
* Copyright (C) 2005-2007 Jorge Arellano Cid <jcid@dillo.org>
+ * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -3503,6 +3504,7 @@ static const TagInfo Tags[] = {
/* legend 01?? */
{"li", B8(01110),'O', Html_tag_open_li, NULL, Html_tag_close_li},
{"link", B8(10001),'F', Html_tag_open_link, NULL, NULL},
+ {"main", B8(01110),'R', Html_tag_open_sectioning, NULL, NULL},
{"map", B8(01101),'R', Html_tag_open_default, Html_tag_content_map,
Html_tag_close_map},
{"mark", B8(01011),'R', Html_tag_open_default, NULL, NULL},