Added HTML5 self-closing tags
http://www.w3.org/TR/html-markup/syntax.html#syntax-elements
This commit is contained in:
parent
c45a4f3e1b
commit
e506a370e9
10
src/utils.c
10
src/utils.c
@ -341,12 +341,20 @@ gboolean utils_is_short_html_tag(const gchar *tag_name)
|
||||
"base",
|
||||
"basefont", /* < or not < */
|
||||
"br",
|
||||
"col",
|
||||
"command",
|
||||
"embed",
|
||||
"frame",
|
||||
"hr",
|
||||
"img",
|
||||
"input",
|
||||
"keygen",
|
||||
"link",
|
||||
"meta"
|
||||
"meta",
|
||||
"param",
|
||||
"source",
|
||||
"track",
|
||||
"wbr"
|
||||
};
|
||||
|
||||
if (tag_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user