From 4d13c1fd09e13b89d439018840a7500fadc0d775 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 3 Nov 2011 20:32:34 +0000 Subject: Correct .Eo spacing: no space between the delimiters and the enclosed text. The mdoc_html.c part was added by kristaps; ok kristaps@. --- usr.bin/mandoc/mdoc_html.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/mandoc/mdoc_html.c') 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 * @@ -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): -- cgit v1.2.3