diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-18 10:39:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-18 10:39:19 +0000 |
commit | 2b1a4d195c217fdbdc7ef44fc5082a40d73cdf1a (patch) | |
tree | daac39481481e84c1de43e6c5d247412d99f32d4 /mdoc.c | |
parent | aa2e27a6cfdc1cb6cf648d12d2ba453173c9283d (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |