[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.46 and 1.48

version 1.46, 2010/12/05 16:14:16 version 1.48, 2010/12/06 14:07:01
Line 547  man_PP_pre(MAN_ARGS)
Line 547  man_PP_pre(MAN_ARGS)
         struct roffsu    su;          struct roffsu    su;
         int              i;          int              i;
   
         if (MAN_BLOCK != n->type)          if (MAN_BODY == n->type)
                 return(1);                  return(1);
           if (MAN_HEAD == n->type)
                   return(0);
   
         i = 0;          i = 0;
   
Line 565  man_PP_pre(MAN_ARGS)
Line 567  man_PP_pre(MAN_ARGS)
   
         PAIR_STYLE_INIT(&tag, h);          PAIR_STYLE_INIT(&tag, h);
         print_otag(h, TAG_DIV, i, &tag);          print_otag(h, TAG_DIV, i, &tag);
   
         return(1);          return(1);
 }  }
   
Line 730  static int
Line 733  static int
 man_literal_pre(MAN_ARGS)  man_literal_pre(MAN_ARGS)
 {  {
   
         switch (n->tok) {          if (MAN_nf == n->tok) {
         case (MAN_nf):  
                 print_otag(h, TAG_BR, 0, NULL);                  print_otag(h, TAG_BR, 0, NULL);
                 mh->fl |= MANH_LITERAL;                  mh->fl |= MANH_LITERAL;
                 break;          } else
         default:  
                 mh->fl &= ~MANH_LITERAL;                  mh->fl &= ~MANH_LITERAL;
                 break;  
         }  
   
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.48

CVSweb