[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.48 and 1.52

version 1.48, 2010/12/06 14:07:01 version 1.52, 2010/12/08 10:58:22
Line 102  static const struct htmlman mans[MAN_MAX] = {
Line 102  static const struct htmlman mans[MAN_MAX] = {
         { man_alt_pre, NULL }, /* IR */          { man_alt_pre, NULL }, /* IR */
         { man_alt_pre, NULL }, /* RI */          { man_alt_pre, NULL }, /* RI */
         { NULL, NULL }, /* na */          { NULL, NULL }, /* na */
         { NULL, NULL }, /* i */  
         { man_br_pre, NULL }, /* sp */          { man_br_pre, NULL }, /* sp */
         { man_literal_pre, NULL }, /* nf */          { man_literal_pre, NULL }, /* nf */
         { man_literal_pre, NULL }, /* fi */          { man_literal_pre, NULL }, /* fi */
         { NULL, NULL }, /* r */  
         { NULL, NULL }, /* RE */          { NULL, NULL }, /* RE */
         { man_RS_pre, NULL }, /* RS */          { man_RS_pre, NULL }, /* RS */
         { man_ign_pre, NULL }, /* DT */          { man_ign_pre, NULL }, /* DT */
Line 114  static const struct htmlman mans[MAN_MAX] = {
Line 112  static const struct htmlman mans[MAN_MAX] = {
         { man_ign_pre, NULL }, /* PD */          { man_ign_pre, NULL }, /* PD */
         { man_ign_pre, NULL }, /* AT */          { man_ign_pre, NULL }, /* AT */
         { man_in_pre, NULL }, /* in */          { man_in_pre, NULL }, /* in */
           { man_ign_pre, NULL }, /* ft */
 };  };
   
   
Line 362  man_br_pre(MAN_ARGS)
Line 361  man_br_pre(MAN_ARGS)
   
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
   
         switch (n->tok) {          if (MAN_sp == n->tok) {
         case (MAN_sp):  
                 if (n->child)                  if (n->child)
                         a2roffsu(n->child->string, &su, SCALE_VS);                          a2roffsu(n->child->string, &su, SCALE_VS);
                 break;          } else
         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.48  
changed lines
  Added in v.1.52

CVSweb