summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-08-26 09:03:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-08-26 09:03:17 +0000
commit18796a779fe7edf7d5304e767e0ba3f19ce163df (patch)
tree9949c2ba3aa55269258071dc650478dcbcb8fb3a /mdoc_html.c
parent0fabbfc2fd6c5473030f8cf9aa934794853b454e (diff)
downloadmandoc-18796a779fe7edf7d5304e767e0ba3f19ce163df.tar.gz
Make sure that `Ql' literalises its arguments in -T[x]html. Found when
doing manpages.bsd.lv stuff.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index bde42bc3..966e2c44 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -2219,7 +2219,11 @@ mdoc_quote_pre(MDOC_ARGS)
print_text(h, "(");
break;
case (MDOC_Ql):
- /* FALLTHROUGH */
+ print_text(h, "\\(oq");
+ h->flags |= HTML_NOSPACE;
+ PAIR_CLASS_INIT(&tag, "lit");
+ print_otag(h, TAG_CODE, 1, &tag);
+ break;
case (MDOC_So):
/* FALLTHROUGH */
case (MDOC_Sq):