[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_html.c between version 1.134 and 1.135

version 1.134, 2017/01/21 01:20:29 version 1.135, 2017/01/21 02:09:49
Line 723 
Line 723 
                 case ROFFT_HEAD:                  case ROFFT_HEAD:
                         return 0;                          return 0;
                 case ROFFT_BODY:                  case ROFFT_BODY:
                         print_otag(h, TAG_LI, "csvt", cattr,                          if (bl->norm->Bl.comp)
                             !bl->norm->Bl.comp);                                  print_otag(h, TAG_LI, "csvt", cattr, 0);
                           else
                                   print_otag(h, TAG_LI, "c", cattr);
                         break;                          break;
                 default:                  default:
                         break;                          break;
Line 737 
Line 739 
         case LIST_tag:          case LIST_tag:
                 switch (n->type) {                  switch (n->type) {
                 case ROFFT_HEAD:                  case ROFFT_HEAD:
                         print_otag(h, TAG_DT, "csvt", cattr,                          if (bl->norm->Bl.comp)
                             !bl->norm->Bl.comp);                                  print_otag(h, TAG_DT, "csvt", cattr, 0);
                           else
                                   print_otag(h, TAG_DT, "c", cattr);
                         if (type == LIST_diag)                          if (type == LIST_diag)
                                 print_otag(h, TAG_B, "c", cattr);                                  print_otag(h, TAG_B, "c", cattr);
                         break;                          break;
Line 758 
Line 762 
                 case ROFFT_HEAD:                  case ROFFT_HEAD:
                         break;                          break;
                 case ROFFT_BODY:                  case ROFFT_BODY:
                         print_otag(h, TAG_TD, "csvt", cattr,                          if (bl->norm->Bl.comp)
                             !bl->norm->Bl.comp);                                  print_otag(h, TAG_TD, "csvt", cattr, 0);
                           else
                                   print_otag(h, TAG_TD, "c", cattr);
                         break;                          break;
                 default:                  default:
                         print_otag(h, TAG_TR, "c", cattr);                          print_otag(h, TAG_TR, "c", cattr);
Line 849 
Line 855 
         }          }
   
         if (n->norm->Bl.offs)          if (n->norm->Bl.offs)
                 print_otag(h, elemtype, "csvtvbwl", cattr, 0, 0,                  print_otag(h, elemtype, "cswl", cattr, n->norm->Bl.offs);
                     n->norm->Bl.offs);  
         else          else
                 print_otag(h, elemtype, "csvtvb", cattr, 0, 0);                  print_otag(h, elemtype, "c", cattr);
   
         return 1;          return 1;
 }  }

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135