From ff4aea846f6f222d3e229e0f47ee037a11856cb2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 12 Apr 2010 19:45:39 +0000 Subject: Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel). --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html.c b/html.c index e6412c6a..292e503d 100644 --- a/html.c +++ b/html.c @@ -54,7 +54,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"h1", 0}, /* TAG_H1 */ {"h2", 0}, /* TAG_H2 */ {"span", 0}, /* TAG_SPAN */ - {"link", HTML_CLRLINE | HTML_NOSTACK}, /* TAG_LINK */ + {"link", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_LINK */ {"br", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_BR */ {"a", 0}, /* TAG_A */ {"table", HTML_CLRLINE}, /* TAG_TABLE */ -- cgit