diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 13:32:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 13:32:35 +0000 |
commit | 6743059f021b4239f933715e225da9a692cf92ff (patch) | |
tree | 3b276e8cf8f560b3be1cd5386b92c96fc266c373 /eqn_html.c | |
parent | 8673cb11940d951abb8716da996c3918208919e3 (diff) | |
download | mandoc-6743059f021b4239f933715e225da9a692cf92ff.tar.gz |
do not print <math class="eqn"><mrow></mrow></math> for empty .EQ;
issue reported by bentley@
Diffstat (limited to 'eqn_html.c')
-rw-r--r-- | eqn_html.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -231,6 +231,9 @@ print_eqn(struct html *p, const struct eqn_box *bp) { struct tag *t; + if (bp->first == NULL) + return; + t = print_otag(p, TAG_MATH, "c", "eqn"); p->flags |= HTML_NONOSPACE; |