=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.149 retrieving revision 1.151 diff -u -p -r1.149 -r1.151 --- mandoc/mdoc_html.c 2011/01/29 14:49:44 1.149 +++ mandoc/mdoc_html.c 2011/02/06 21:44:36 1.151 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.149 2011/01/29 14:49:44 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.151 2011/02/06 21:44:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -432,6 +432,8 @@ print_mdoc_node(MDOC_ARGS) print_otag(h, TAG_BR, 0, NULL); print_text(h, n->string); return; + case (MDOC_EQN): + return; case (MDOC_TBL): /* * This will take care of initialising all of the table @@ -780,7 +782,8 @@ static int mdoc_ns_pre(MDOC_ARGS) { - h->flags |= HTML_NOSPACE; + if ( ! (MDOC_LINE & n->flags)) + h->flags |= HTML_NOSPACE; return(1); }