[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.74 and 1.76

version 1.74, 2011/06/18 20:34:08 version 1.76, 2011/07/03 22:57:32
Line 414  man_br_pre(MAN_ARGS)
Line 414  man_br_pre(MAN_ARGS)
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
   
         if (MAN_sp == n->tok) {          if (MAN_sp == n->tok) {
                 if (n->child)                  if (NULL != (n = n->child))
                         a2roffsu(n->child->string, &su, SCALE_VS);                          if ( ! a2roffsu(n->string, &su, SCALE_VS))
                                   SCALE_VS_INIT(&su, atoi(n->string));
         } else          } else
                 su.scale = 0;                  su.scale = 0;
   
Line 438  man_SH_pre(MAN_ARGS)
Line 439  man_SH_pre(MAN_ARGS)
         struct htmlpair  tag;          struct htmlpair  tag;
   
         if (MAN_BLOCK == n->type) {          if (MAN_BLOCK == n->type) {
                   mh->fl &= ~MANH_LITERAL;
                 PAIR_CLASS_INIT(&tag, "section");                  PAIR_CLASS_INIT(&tag, "section");
                 print_otag(h, TAG_DIV, 1, &tag);                  print_otag(h, TAG_DIV, 1, &tag);
                 return(1);                  return(1);
Line 519  man_SS_pre(MAN_ARGS)
Line 521  man_SS_pre(MAN_ARGS)
         struct htmlpair  tag;          struct htmlpair  tag;
   
         if (MAN_BLOCK == n->type) {          if (MAN_BLOCK == n->type) {
                   mh->fl &= ~MANH_LITERAL;
                 PAIR_CLASS_INIT(&tag, "subsection");                  PAIR_CLASS_INIT(&tag, "subsection");
                 print_otag(h, TAG_DIV, 1, &tag);                  print_otag(h, TAG_DIV, 1, &tag);
                 return(1);                  return(1);

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.76

CVSweb