diff options
author | 2010-04-08 08:17:55 +0000 | |
---|---|---|
committer | 2010-04-08 08:17:55 +0000 | |
commit | de239793dd69c5f9b3cf6f0ffce3c9c90af80668 (patch) | |
tree | 0e19f0d626bfcadde86e37348b86006c9cf5cc61 /mdoc_html.c | |
parent | db9ac84d691aa665ae1560055501f7b33c6f1bd4 (diff) | |
download | mandoc-de239793dd69c5f9b3cf6f0ffce3c9c90af80668.tar.gz mandoc-de239793dd69c5f9b3cf6f0ffce3c9c90af80668.tar.zst mandoc-de239793dd69c5f9b3cf6f0ffce3c9c90af80668.zip |
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.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index e0181c06..0ba4bea3 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.60 2010/04/07 07:49:38 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.61 2010/04/08 08:17:55 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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 ? "," : "."); } |