aboutsummaryrefslogtreecommitdiffstatshomepage
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
commita24b465fc1a389d13f301e43333eb27cbd1c1189 (patch)
tree9cf56280096dd2eaf8fef55c094ac7ef285f1f18
parent3e70fef168168465342e0c00dce021b0952eb50b (diff)
downloadmandoc-a24b465fc1a389d13f301e43333eb27cbd1c1189.tar.gz
mandoc-a24b465fc1a389d13f301e43333eb27cbd1c1189.tar.zst
mandoc-a24b465fc1a389d13f301e43333eb27cbd1c1189.zip
Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel).
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index aa83bc28..0ad84e4f 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.98 2010/04/08 07:05:38 kristaps Exp $ */
+/* $Id: html.c,v 1.99 2010/04/12 19:45:39 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 */