[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.117 and 1.118

version 1.117, 2010/12/15 15:59:23 version 1.118, 2010/12/15 16:08:18
Line 1133  mdoc_d1_pre(MDOC_ARGS)
Line 1133  mdoc_d1_pre(MDOC_ARGS)
         if (MDOC_BLOCK != n->type)          if (MDOC_BLOCK != n->type)
                 return(1);                  return(1);
   
         /* FIXME: D1 shouldn't be literal. */          SCALE_VS_INIT(&su, 0);
           bufcat_su(h, "margin-top", &su);
           bufcat_su(h, "margin-bottom", &su);
           PAIR_STYLE_INIT(&tag[0], h);
   
         SCALE_VS_INIT(&su, INDENT - 2);          if (MDOC_Dl == n->tok) {
         bufcat_su(h, "margin-left", &su);                  PAIR_CLASS_INIT(&tag[1], "lit");
         PAIR_CLASS_INIT(&tag[0], "lit");                  print_otag(h, TAG_BLOCKQUOTE, 2, tag);
         PAIR_STYLE_INIT(&tag[1], h);          } else
         print_otag(h, TAG_DIV, 2, tag);                  print_otag(h, TAG_BLOCKQUOTE, 1, tag);
   
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.118

CVSweb