[BACK]Return to man_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_html.c between version 1.28 and 1.29

version 1.28, 2010/03/22 14:03:03 version 1.29, 2010/03/23 11:30:48
Line 103  static const struct htmlman mans[MAN_MAX] = {
Line 103  static const struct htmlman mans[MAN_MAX] = {
         { man_ign_pre, NULL }, /* DT */          { man_ign_pre, NULL }, /* DT */
         { man_ign_pre, NULL }, /* UC */          { man_ign_pre, NULL }, /* UC */
         { man_ign_pre, NULL }, /* PD */          { man_ign_pre, NULL }, /* PD */
           { man_br_pre, NULL }, /* Sp */
           { man_ign_pre, NULL }, /* Vb */
           { NULL, NULL }, /* Vi */
 };  };
   
   
Line 341  man_br_pre(MAN_ARGS)
Line 344  man_br_pre(MAN_ARGS)
   
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
   
         if (MAN_sp == n->tok && n->child)          switch (n->tok) {
                 a2roffsu(n->child->string, &su, SCALE_VS);          case (MAN_Sp):
         else if (MAN_br == n->tok)                  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;                  su.scale = 0;
                   break;
           }
   
         bufcat_su(h, "height", &su);          bufcat_su(h, "height", &su);
         PAIR_STYLE_INIT(&tag, h);          PAIR_STYLE_INIT(&tag, h);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

CVSweb