summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-12 19:45:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-12 19:45:39 +0000
commitff4aea846f6f222d3e229e0f47ee037a11856cb2 (patch)
treec9b7383ec8ef72beeb26f7c027ee43d175d9dd19
parent7b80ac431dae320548b72553a9c99f7a327dc76a (diff)
downloadmandoc-ff4aea846f6f222d3e229e0f47ee037a11856cb2.tar.gz
Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel).
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
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 */