[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.277 and 1.278

version 1.277, 2017/03/15 11:29:53 version 1.278, 2017/03/17 12:10:16
Line 501  mdoc_sh_pre(MDOC_ARGS)
Line 501  mdoc_sh_pre(MDOC_ARGS)
         case ROFFT_HEAD:          case 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);
                 break;                  break;
         case ROFFT_BODY:          case ROFFT_BODY:
Line 524  mdoc_ss_pre(MDOC_ARGS)
Line 525  mdoc_ss_pre(MDOC_ARGS)
   
         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.277  
changed lines
  Added in v.1.278

CVSweb