diff options
author | 2011-11-03 20:36:59 +0000 | |
---|---|---|
committer | 2011-11-03 20:36:59 +0000 | |
commit | a136214ec402b0533c03cdddc34e83145b748398 (patch) | |
tree | 946c547e6e1e64e5484b78f6d28518dd2f022ccb /mdoc_term.c | |
parent | 2c9cfb763db88e1a0c573ea2da8dac644f88f1f6 (diff) | |
download | mandoc-a136214ec402b0533c03cdddc34e83145b748398.tar.gz mandoc-a136214ec402b0533c03cdddc34e83145b748398.tar.zst mandoc-a136214ec402b0533c03cdddc34e83145b748398.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 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index a6f279db..9b01d651 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.236 2011/10/16 12:20:34 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.237 2011/11/03 20:36:59 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -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): |