diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-26 09:03:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-26 09:03:17 +0000 |
commit | 18796a779fe7edf7d5304e767e0ba3f19ce163df (patch) | |
tree | 9949c2ba3aa55269258071dc650478dcbcb8fb3a /mdoc_html.c | |
parent | 0fabbfc2fd6c5473030f8cf9aa934794853b454e (diff) | |
download | mandoc-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.c | 6 |
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): |