=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.54 retrieving revision 1.55 diff -c -r1.54 -r1.55 *** src/usr.bin/mandoc/mdoc_html.c 2011/03/20 23:36:42 1.54 --- src/usr.bin/mandoc/mdoc_html.c 2011/04/21 22:59:54 1.55 *************** *** 1,4 **** ! /* $Id: mdoc_html.c,v 1.54 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: mdoc_html.c,v 1.55 2011/04/21 22:59:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * *************** *** 406,411 **** --- 406,412 ---- { int child; struct tag *t; + struct htmlpair tag; child = 1; t = h->tags.head; *************** *** 429,436 **** print_text(h, n->string); return; case (MDOC_EQN): print_text(h, n->eqn->data); ! return; case (MDOC_TBL): /* * This will take care of initialising all of the table --- 430,439 ---- print_text(h, n->string); return; case (MDOC_EQN): + PAIR_CLASS_INIT(&tag, "eqn"); + print_otag(h, TAG_SPAN, 1, &tag); print_text(h, n->eqn->data); ! break; case (MDOC_TBL): /* * This will take care of initialising all of the table *************** *** 477,482 **** --- 480,487 ---- switch (n->type) { case (MDOC_ROOT): mdoc_root_post(m, n, h); + break; + case (MDOC_EQN): break; default: if (mdocs[n->tok].post && ENDBODY_NOT == n->end)