summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example.style.css2
-rw-r--r--mdoc_html.c6
-rw-r--r--style.css2
3 files changed, 7 insertions, 3 deletions
diff --git a/example.style.css b/example.style.css
index 9f0ce4b2..1b1e44dd 100644
--- a/example.style.css
+++ b/example.style.css
@@ -38,7 +38,7 @@ i { } /* Italic: BI, IB, I, (implicit). */
b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
.symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
small { } /* Small: SB, SM. */
-.lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
+.lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
/* Block modes. */
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):
diff --git a/style.css b/style.css
index a0cfb811..dcc49a7c 100644
--- a/style.css
+++ b/style.css
@@ -38,7 +38,7 @@ i { } /* Italic: BI, IB, I, (implicit). */
b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
.symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
small { } /* Small: SB, SM. */
-.lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
+.lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Ql, Bf -literal, Bl -literal, Bl -unfilled. */
/* Block modes. */