summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-07-18 10:39:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-07-18 10:39:19 +0000
commit2b1a4d195c217fdbdc7ef44fc5082a40d73cdf1a (patch)
treedaac39481481e84c1de43e6c5d247412d99f32d4 /mdoc.c
parentaa2e27a6cfdc1cb6cf648d12d2ba453173c9283d (diff)
downloadmandoc-2b1a4d195c217fdbdc7ef44fc5082a40d73cdf1a.tar.gz
The mdoc(7) \*(Ba predefined string actually forces roman font;
that's stupid because it may break enclosing font changes, but let's do the same for groff bug compatibility. --> Never use \*(Ba, use just plain "|"! <-- Also, predefined strings are already expanded by the roff(7) parser, so the mdoc(7) parser has to look for the expanded string. OpenBSD rev. mdoc.c 1.90 and predefs.in 1.3
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 90cc8169..e5486a52 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -982,7 +982,7 @@ mdoc_isdelim(const char *p)
if (0 == strcmp(p + 1, "."))
return(DELIM_CLOSE);
- if (0 == strcmp(p + 1, "*(Ba"))
+ if (0 == strcmp(p + 1, "fR|\\fP"))
return(DELIM_MIDDLE);
return(DELIM_NONE);