[BACK]Return to man_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_html.c between version 1.149 and 1.150

version 1.149, 2018/05/08 21:42:34 version 1.150, 2018/05/25 20:23:51
Line 428  man_SH_pre(MAN_ARGS)
Line 428  man_SH_pre(MAN_ARGS)
         char    *id;          char    *id;
   
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n, 1);
                 print_otag(h, TAG_H1, "cTi", "Sh", id);                  print_otag(h, TAG_H1, "cTi", "Sh", id);
                 if (id != NULL)                  if (id != NULL)
                         print_otag(h, TAG_A, "chR", "permalink", id);                          print_otag(h, TAG_A, "chR", "permalink", id);
                 free(id);  
         }          }
         return 1;          return 1;
 }  }
Line 498  man_SS_pre(MAN_ARGS)
Line 497  man_SS_pre(MAN_ARGS)
         char    *id;          char    *id;
   
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n, 1);
                 print_otag(h, TAG_H2, "cTi", "Ss", id);                  print_otag(h, TAG_H2, "cTi", "Ss", id);
                 if (id != NULL)                  if (id != NULL)
                         print_otag(h, TAG_A, "chR", "permalink", id);                          print_otag(h, TAG_A, "chR", "permalink", id);
                 free(id);  
         }          }
         return 1;          return 1;
 }  }

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150

CVSweb