diff options
Diffstat (limited to 'eqn_html.c')
-rw-r--r-- | eqn_html.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -35,9 +35,9 @@ static const enum htmltag fontmap[EQNFONT__MAX] = { TAG_I /* EQNFONT_ITALIC */ }; - static void eqn_box(struct html *, const struct eqn_box *); + void print_eqn(struct html *p, const struct eqn *ep) { @@ -59,12 +59,12 @@ eqn_box(struct html *p, const struct eqn_box *bp) { struct tag *t; - t = EQNFONT_NONE == bp->font ? NULL : - print_otag(p, fontmap[(int)bp->font], 0, NULL); + t = EQNFONT_NONE == bp->font ? NULL : + print_otag(p, fontmap[(int)bp->font], 0, NULL); if (bp->left) print_text(p, bp->left); - + if (bp->text) print_text(p, bp->text); |