diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-12 19:45:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-12 19:45:39 +0000 |
commit | ff4aea846f6f222d3e229e0f47ee037a11856cb2 (patch) | |
tree | c9b7383ec8ef72beeb26f7c027ee43d175d9dd19 | |
parent | 7b80ac431dae320548b72553a9c99f7a327dc76a (diff) | |
download | mandoc-ff4aea846f6f222d3e229e0f47ee037a11856cb2.tar.gz |
Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel).
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |