=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.171 retrieving revision 1.174 diff -u -p -r1.171 -r1.174 --- mandoc/mdoc_html.c 2011/06/29 15:38:09 1.171 +++ mandoc/mdoc_html.c 2011/07/23 22:57:13 1.174 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.171 2011/06/29 15:38:09 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.174 2011/07/23 22:57:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -407,7 +407,6 @@ print_mdoc_node(MDOC_ARGS) { int child; struct tag *t; - struct htmlpair tag; child = 1; t = h->tags.head; @@ -434,9 +433,7 @@ print_mdoc_node(MDOC_ARGS) h->flags |= HTML_NOSPACE; return; case (MDOC_EQN): - PAIR_CLASS_INIT(&tag, "eqn"); - print_otag(h, TAG_SPAN, 1, &tag); - print_text(h, n->eqn->data); + print_eqn(h, n->eqn); break; case (MDOC_TBL): /* @@ -610,6 +607,7 @@ mdoc_sh_pre(MDOC_ARGS) return(1); bufinit(h); + bufcat(h, "x"); for (n = n->child; n; n = n->next) { bufcat_id(h, n->string); if (n->next) @@ -636,6 +634,7 @@ mdoc_ss_pre(MDOC_ARGS) return(1); bufinit(h); + bufcat(h, "x"); for (n = n->child; n; n = n->next) { bufcat_id(h, n->string); if (n->next)