tunderline references/links - webdump - [FORK] git://git.codemadness.org/webdump
HTML git clone git://git.z3bra.org/webdump.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a0989953b412e2baa791c9e64f4ebdcbf0e0ab33
DIR parent 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:05:48 +0100
underline references/links
Diffstat:
M webdump.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/webdump.c b/webdump.c
t@@ -161,8 +161,6 @@ static struct tag tags[] = {
{ "header", DisplayBlock },
{ "footer", DisplayBlock },
{ "div", DisplayBlock },
- { "img", DisplayInline, 0, 1 },
- /* self-closing tags */
{ "area", DisplayInline, 0, 1 },
{ "base", DisplayInline, 0, 1 },
{ "col", DisplayInline, 0, 1 },
t@@ -174,6 +172,10 @@ static struct tag tags[] = {
{ "source", DisplayInline, 0, 1 },
{ "track", DisplayInline, 0, 1 },
{ "wbr", DisplayInline, 0, 1 },
+ { "img", DisplayInline | DisplayUnderline, 0, 1 },
+ { "a", DisplayInline | DisplayUnderline, 0, 0 },
+ { "video", DisplayInline | DisplayUnderline, 0, 0 },
+ { "audio", DisplayInline | DisplayUnderline, 0, 0 },
};
static const char *ignorestate, *endtag;