summaryrefslogtreecommitdiffstats
path: root/mdoc_term.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_term.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_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 709fc108..f0db5e89 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -194,7 +194,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, NULL }, /* Ec */ /* FIXME: no space */
{ NULL, NULL }, /* Ef */
{ termp_under_pre, NULL }, /* Em */
- { NULL, NULL }, /* Eo */
+ { termp_quote_pre, termp_quote_post }, /* Eo */
{ termp_xx_pre, NULL }, /* Fx */
{ termp_bold_pre, NULL }, /* Ms */
{ termp_igndelim_pre, NULL }, /* No */
@@ -1925,6 +1925,8 @@ termp_quote_pre(DECL_ARGS)
case (MDOC_Dq):
term_word(p, "``");
break;
+ case (MDOC_Eo):
+ break;
case (MDOC_Po):
/* FALLTHROUGH */
case (MDOC_Pq):
@@ -1989,6 +1991,8 @@ termp_quote_post(DECL_ARGS)
case (MDOC_Dq):
term_word(p, "''");
break;
+ case (MDOC_Eo):
+ break;
case (MDOC_Po):
/* FALLTHROUGH */
case (MDOC_Pq):