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

Diff for /mandoc/mdoc_html.c between version 1.53 and 1.54

version 1.53, 2010/01/29 14:39:38 version 1.54, 2010/01/30 08:42:20
Line 1583  mdoc_vt_pre(MDOC_ARGS)
Line 1583  mdoc_vt_pre(MDOC_ARGS)
         struct htmlpair  tag;          struct htmlpair  tag;
         struct roffsu    su;          struct roffsu    su;
   
         if (SEC_SYNOPSIS == n->sec) {          if (MDOC_BLOCK == n->type) {
                 if (n->prev && MDOC_Vt != n->prev->tok) {                  if (n->prev && MDOC_Vt != n->prev->tok) {
                         SCALE_VS_INIT(&su, 1);                          SCALE_VS_INIT(&su, 1);
                         bufcat_su(h, "margin-top", &su);                          bufcat_su(h, "margin-top", &su);
Line 1591  mdoc_vt_pre(MDOC_ARGS)
Line 1591  mdoc_vt_pre(MDOC_ARGS)
                         print_otag(h, TAG_DIV, 1, &tag);                          print_otag(h, TAG_DIV, 1, &tag);
                 } else                  } else
                         print_otag(h, TAG_DIV, 0, NULL);                          print_otag(h, TAG_DIV, 0, NULL);
         }  
                   return(1);
           } else if (MDOC_HEAD == n->type)
                   return(0);
   
         PAIR_CLASS_INIT(&tag, "type");          PAIR_CLASS_INIT(&tag, "type");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

CVSweb