=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/man_html.c,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/usr.bin/mandoc/man_html.c 2011/03/20 23:36:42 1.36 --- src/usr.bin/mandoc/man_html.c 2011/04/21 22:59:54 1.37 *************** *** 1,4 **** ! /* $Id: man_html.c,v 1.36 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: man_html.c,v 1.37 2011/04/21 22:59:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * *************** *** 176,181 **** --- 176,182 ---- { int child; struct tag *t; + struct htmlpair tag; child = 1; t = h->tags.head; *************** *** 201,208 **** print_otag(h, TAG_BR, 0, NULL); return; case (MAN_EQN): print_text(h, n->eqn->data); ! return; case (MAN_TBL): /* * This will take care of initialising all of the table --- 202,211 ---- print_otag(h, TAG_BR, 0, NULL); return; case (MAN_EQN): + PAIR_CLASS_INIT(&tag, "eqn"); + print_otag(h, TAG_SPAN, 1, &tag); print_text(h, n->eqn->data); ! break; case (MAN_TBL): /* * This will take care of initialising all of the table *************** *** 246,251 **** --- 249,256 ---- switch (n->type) { case (MAN_ROOT): man_root_post(m, n, mh, h); + break; + case (MAN_EQN): break; default: if (mans[n->tok].post)