summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-11-03 20:32:33 +0000
committerschwarze <schwarze@openbsd.org>2011-11-03 20:32:33 +0000
commita1d10d080c6c754bc56795c070982f9afb3355b9 (patch)
tree82cd3c3bed838c75e235f9d44a7aea45edf0cf93 /usr.bin/mandoc/mdoc_html.c
parentBackout last change that broke the driver. There's no hardware at hand (diff)
downloadwireguard-openbsd-a1d10d080c6c754bc56795c070982f9afb3355b9.tar.xz
wireguard-openbsd-a1d10d080c6c754bc56795c070982f9afb3355b9.zip
Correct .Eo spacing:
no space between the delimiters and the enclosed text. The mdoc_html.c part was added by kristaps; ok kristaps@.
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 08c11d3c28d..bbca6591ab3 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.64 2011/10/16 12:18:32 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.65 2011/11/03 20:32:33 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -185,7 +185,7 @@ static const struct htmlmdoc mdocs[MDOC_MAX] = {
{NULL, NULL}, /* Ec */ /* FIXME: no space */
{NULL, NULL}, /* Ef */
{mdoc_em_pre, NULL}, /* Em */
- {NULL, NULL}, /* Eo */
+ {mdoc_quote_pre, mdoc_quote_post}, /* Eo */
{mdoc_xx_pre, NULL}, /* Fx */
{mdoc_ms_pre, NULL}, /* Ms */
{mdoc_igndelim_pre, NULL}, /* No */
@@ -2181,6 +2181,8 @@ mdoc_quote_pre(MDOC_ARGS)
PAIR_CLASS_INIT(&tag, "opt");
print_otag(h, TAG_SPAN, 1, &tag);
break;
+ case (MDOC_Eo):
+ break;
case (MDOC_Do):
/* FALLTHROUGH */
case (MDOC_Dq):
@@ -2246,6 +2248,8 @@ mdoc_quote_post(MDOC_ARGS)
case (MDOC_Bq):
print_text(h, "\\(rB");
break;
+ case (MDOC_Eo):
+ break;
case (MDOC_Qo):
/* FALLTHROUGH */
case (MDOC_Qq):