summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-08 08:17:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-08 08:17:55 +0000
commit36b1bcee466390f66c8760f6c0d805a97cda8a16 (patch)
tree10d38d7c9a8180e5b8e976259ed9bbb111a27dd9 /mdoc_html.c
parentdddfffcee06b6b91e4f189f71f8b4863c54cf798 (diff)
downloadmandoc-36b1bcee466390f66c8760f6c0d805a97cda8a16.tar.gz
Fixed %T: it now correctly underlines, instead of quoting (noted by Jason McIntyre and posted on Ingo Schwarze' mandoc-todo list).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 802b969e..ed72cbc6 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -2222,8 +2222,6 @@ mdoc__x_pre(MDOC_ARGS)
break;
case(MDOC__T):
PAIR_CLASS_INIT(&tag[0], "ref-title");
- print_text(h, "\\(lq");
- h->flags |= HTML_NOSPACE;
break;
case(MDOC__U):
PAIR_CLASS_INIT(&tag[0], "link-ref");
@@ -2252,14 +2250,8 @@ static void
mdoc__x_post(MDOC_ARGS)
{
+ /* TODO: %U */
+
h->flags |= HTML_NOSPACE;
- switch (n->tok) {
- case (MDOC__T):
- print_text(h, "\\(rq");
- h->flags |= HTML_NOSPACE;
- break;
- default:
- break;
- }
print_text(h, n->next ? "," : ".");
}