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

Diff for /src/usr.bin/mandoc/man_html.c between version 1.87 and 1.88

version 1.87, 2017/03/15 11:29:50 version 1.88, 2017/03/17 12:06:02
Line 438 
Line 438 
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n);
                 print_otag(h, TAG_H1, "cTi", "Sh", id);                  print_otag(h, TAG_H1, "cTi", "Sh", id);
                 print_otag(h, TAG_A, "chR", "selflink", id);                  if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                 free(id);                  free(id);
         }          }
         return 1;          return 1;
Line 507 
Line 508 
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n);
                 print_otag(h, TAG_H2, "cTi", "Ss", id);                  print_otag(h, TAG_H2, "cTi", "Ss", id);
                 print_otag(h, TAG_A, "chR", "selflink", id);                  if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                 free(id);                  free(id);
         }          }
         return 1;          return 1;

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88