diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 15:23:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 15:23:56 +0000 |
commit | 90de6f743cde657a20885806bb1ea6bce6741b71 (patch) | |
tree | d2955518e6e339e58dae535ef0d48f11defb2bd7 /roff.c | |
parent | ef7072c55061398de01299d9bc02d3a179fcb3bc (diff) | |
download | mandoc-90de6f743cde657a20885806bb1ea6bce6741b71.tar.gz |
With the current architecture, we can't support inline equations
inside tables, sorry. So don't even try to parse tbl(7) blocks for
eqn(7) delimiters.
Broken table layout found in glPixelMap(3) while investigating
a bug report by Theo Buehler <theo at math dot ethz dot ch>.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -730,7 +730,8 @@ roff_parseln(struct roff *r, int ln, char **bufp, /* Handle in-line equation delimiters. */ - if (r->last_eqn != NULL && r->last_eqn->delim && + if (r->tbl == NULL && + r->last_eqn != NULL && r->last_eqn->delim && (r->eqn == NULL || r->eqn_inline)) { e = roff_eqndelim(r, bufp, szp, pos); if (e == ROFF_REPARSE) |