summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-08 02:10:10 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-08 02:10:10 +0000
commit619c68ca772fb6d675f34fb216ee24ec14d1d0bd (patch)
tree92b7193c614a1397f84928022e2f72fa26915c1d /usr.bin/mandoc/mdoc_html.c
parentcca99e71d7e5cdf77d88bd9f3abcb3249b338e23 (diff)
sync to bsd.lv mdoc_term.c 1.117, mdoc_html.c 1.61:
fixed %T: it now correctly underlines, instead of quoting; noted by jmc@, fixed by kristaps@
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 8414e69ced0..24f1b4c00c4 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.11 2010/04/07 23:15:05 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.12 2010/05/08 02:10:09 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -2219,8 +2219,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");
@@ -2249,14 +2247,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 ? "," : ".");
}