[BACK]Return to man_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man_html.c between version 1.7 and 1.8

version 1.7, 2010/03/25 23:23:01 version 1.8, 2010/03/26 01:22:05
Line 100 
Line 100 
         { 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_br_pre, NULL }, /* Sp */
         { NULL, NULL }, /* Vb */          { man_ign_pre, NULL }, /* Vb */
         { NULL, NULL }, /* Vi */          { 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 }, /* . */
 };  };
   
   
Line 340 
Line 346 
   
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
   
         if ((MAN_sp == n->tok || 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.7  
changed lines
  Added in v.1.8