[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.182 and 1.183

version 1.182, 2011/11/03 20:37:00 version 1.183, 2012/08/12 10:04:09
Line 981  mdoc_bl_pre(MDOC_ARGS)
Line 981  mdoc_bl_pre(MDOC_ARGS)
         struct roffsu    su;          struct roffsu    su;
         char             buf[BUFSIZ];          char             buf[BUFSIZ];
   
         bufinit(h);  
   
         if (MDOC_BODY == n->type) {          if (MDOC_BODY == n->type) {
                 if (LIST_column == n->norm->Bl.type)                  if (LIST_column == n->norm->Bl.type)
                         print_otag(h, TAG_TBODY, 0, NULL);                          print_otag(h, TAG_TBODY, 0, NULL);
Line 1001  mdoc_bl_pre(MDOC_ARGS)
Line 999  mdoc_bl_pre(MDOC_ARGS)
                  */                   */
   
                 for (i = 0; i < (int)n->norm->Bl.ncols; i++) {                  for (i = 0; i < (int)n->norm->Bl.ncols; i++) {
                           bufinit(h);
                         a2width(n->norm->Bl.cols[i], &su);                          a2width(n->norm->Bl.cols[i], &su);
                         if (i < (int)n->norm->Bl.ncols - 1)                          if (i < (int)n->norm->Bl.ncols - 1)
                                 bufcat_su(h, "width", &su);                                  bufcat_su(h, "width", &su);
Line 1014  mdoc_bl_pre(MDOC_ARGS)
Line 1013  mdoc_bl_pre(MDOC_ARGS)
         }          }
   
         SCALE_VS_INIT(&su, 0);          SCALE_VS_INIT(&su, 0);
           bufinit(h);
         bufcat_su(h, "margin-top", &su);          bufcat_su(h, "margin-top", &su);
         bufcat_su(h, "margin-bottom", &su);          bufcat_su(h, "margin-bottom", &su);
         PAIR_STYLE_INIT(&tag[0], h);          PAIR_STYLE_INIT(&tag[0], h);
Line 2273  mdoc_quote_post(MDOC_ARGS)
Line 2273  mdoc_quote_post(MDOC_ARGS)
         case (MDOC_So):          case (MDOC_So):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Sq):          case (MDOC_Sq):
                 print_text(h, "\\(aq");                  print_text(h, "\\(cq");
                 break;                  break;
         default:          default:
                 abort();                  abort();

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183

CVSweb