[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.287 and 1.288

version 1.287, 2017/05/12 17:58:21 version 1.288, 2017/05/17 17:54:45
Line 585  mdoc_nd_pre(MDOC_ARGS)
Line 585  mdoc_nd_pre(MDOC_ARGS)
 static int  static int
 mdoc_nm_pre(MDOC_ARGS)  mdoc_nm_pre(MDOC_ARGS)
 {  {
         struct tag      *t;  
         int              len;  
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_HEAD:          case ROFFT_HEAD:
                 print_otag(h, TAG_TD, "");                  print_otag(h, TAG_TD, "");
Line 601  mdoc_nm_pre(MDOC_ARGS)
Line 598  mdoc_nm_pre(MDOC_ARGS)
         default:          default:
                 break;                  break;
         }          }
   
         synopsis_pre(h, n);          synopsis_pre(h, n);
         print_otag(h, TAG_TABLE, "c", "Nm");          print_otag(h, TAG_TABLE, "c", "Nm");
   
         for (len = 0, n = n->head->child; n; n = n->next)  
                 if (n->type == ROFFT_TEXT)  
                         len += html_strlen(n->string);  
   
         if (len == 0 && meta->name != NULL)  
                 len = html_strlen(meta->name);  
   
         t = print_otag(h, TAG_COLGROUP, "");  
         /* Increase width to make even bold text fit. */  
         print_otag(h, TAG_COL, "shw", len + 2);  
         print_otag(h, TAG_COL, "");  
         print_tagq(h, t);  
         print_otag(h, TAG_TR, "");          print_otag(h, TAG_TR, "");
         return 1;          return 1;
 }  }

Legend:
Removed from v.1.287  
changed lines
  Added in v.1.288

CVSweb