[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.108 and 1.109

version 1.108, 2015/08/30 18:59:44 version 1.109, 2015/09/26 00:18:04
Line 640 
Line 640 
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_ELEM:          case ROFFT_ELEM:
                 synopsis_pre(h, n);  
                 PAIR_CLASS_INIT(&tag, "name");                  PAIR_CLASS_INIT(&tag, "name");
                 print_otag(h, TAG_B, 1, &tag);                  print_otag(h, TAG_B, 1, &tag);
                 if (NULL == n->child && meta->name)                  if (NULL == n->child && meta->name)
Line 648 
Line 647 
                 return(1);                  return(1);
         case ROFFT_HEAD:          case ROFFT_HEAD:
                 print_otag(h, TAG_TD, 0, NULL);                  print_otag(h, TAG_TD, 0, NULL);
                   PAIR_CLASS_INIT(&tag, "name");
                   print_otag(h, TAG_B, 1, &tag);
                 if (NULL == n->child && meta->name)                  if (NULL == n->child && meta->name)
                         print_text(h, meta->name);                          print_text(h, meta->name);
                 return(1);                  return(1);
Line 662 
Line 663 
         PAIR_CLASS_INIT(&tag, "synopsis");          PAIR_CLASS_INIT(&tag, "synopsis");
         print_otag(h, TAG_TABLE, 1, &tag);          print_otag(h, TAG_TABLE, 1, &tag);
   
         for (len = 0, n = n->child; n; n = n->next)          for (len = 0, n = n->head->child; n; n = n->next)
                 if (n->type == ROFFT_TEXT)                  if (n->type == ROFFT_TEXT)
                         len += html_strlen(n->string);                          len += html_strlen(n->string);
   

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109