=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/man_html.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/mandoc/man_html.c 2010/03/25 23:23:01 1.7 --- src/usr.bin/mandoc/man_html.c 2010/03/26 01:22:05 1.8 *************** *** 1,4 **** ! /* $Id: man_html.c,v 1.7 2010/03/25 23:23:01 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: man_html.c,v 1.8 2010/03/26 01:22:05 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * *************** *** 100,107 **** { man_ign_pre, NULL }, /* UC */ { man_ign_pre, NULL }, /* PD */ { man_br_pre, NULL }, /* Sp */ ! { NULL, NULL }, /* Vb */ ! { NULL, NULL }, /* Vi */ }; --- 100,113 ---- { man_ign_pre, NULL }, /* UC */ { man_ign_pre, NULL }, /* PD */ { man_br_pre, NULL }, /* Sp */ ! { man_ign_pre, NULL }, /* Vb */ ! { NULL, NULL }, /* Ve */ ! { man_ign_pre, NULL }, /* de */ ! { man_ign_pre, NULL }, /* dei */ ! { man_ign_pre, NULL }, /* am */ ! { man_ign_pre, NULL }, /* ami */ ! { man_ign_pre, NULL }, /* ig */ ! { NULL, NULL }, /* . */ }; *************** *** 340,349 **** SCALE_VS_INIT(&su, 1); ! if ((MAN_sp == n->tok || MAN_Sp == n->tok) && n->child) ! a2roffsu(n->child->string, &su, SCALE_VS); ! else if (MAN_br == n->tok) su.scale = 0; bufcat_su(h, "height", &su); PAIR_STYLE_INIT(&tag, h); --- 346,363 ---- SCALE_VS_INIT(&su, 1); ! switch (n->tok) { ! case (MAN_Sp): ! SCALE_VS_INIT(&su, 0.5); ! break; ! case (MAN_sp): ! if (n->child) ! a2roffsu(n->child->string, &su, SCALE_VS); ! break; ! default: su.scale = 0; + break; + } bufcat_su(h, "height", &su); PAIR_STYLE_INIT(&tag, h);