summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-03 20:36:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-03 20:36:59 +0000
commit58cb4029b5bbf8bbd532e28dc63a27ce80b2c528 (patch)
tree54a727ff15d0660c3ca4f222144eb051dd2d40ba /mdoc_html.c
parent60c17cebf663c7f44310727a906f23c091316324 (diff)
downloadmandoc-58cb4029b5bbf8bbd532e28dc63a27ce80b2c528.tar.gz
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 '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 d1031328..acb68891 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -189,7 +189,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 */
@@ -2185,6 +2185,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):
@@ -2250,6 +2252,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):