diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-22 18:57:23 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-22 18:57:23 +0000 |
commit | 322e9f202c55a90688e5243b26f9fe13233b06d6 (patch) | |
tree | aba7ac26366d9bbe229fb31209028de396e0734c /contrib/mdocml/eqn_html.c | |
parent | 94074b10c06e084bdb5dbf5e550c6f73d8083f99 (diff) | |
parent | eb03421ddbdfb35eb3ab61dbe59c906ce9e5db96 (diff) | |
download | FreeBSD-src-322e9f202c55a90688e5243b26f9fe13233b06d6.zip FreeBSD-src-322e9f202c55a90688e5243b26f9fe13233b06d6.tar.gz |
Update mandoc to 1.13.1
Diffstat (limited to 'contrib/mdocml/eqn_html.c')
-rw-r--r-- | contrib/mdocml/eqn_html.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/mdocml/eqn_html.c b/contrib/mdocml/eqn_html.c index 80c82f1..3e58ab5 100644 --- a/contrib/mdocml/eqn_html.c +++ b/contrib/mdocml/eqn_html.c @@ -1,4 +1,4 @@ -/* $Id: eqn_html.c,v 1.2 2011/07/24 10:09:03 kristaps Exp $ */ +/* $Id: eqn_html.c,v 1.3 2014/04/20 16:46:04 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); |