=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.296 retrieving revision 1.297 diff -u -p -r1.296 -r1.297 --- mandoc/mdoc_html.c 2018/04/13 16:28:07 1.296 +++ mandoc/mdoc_html.c 2018/04/24 00:36:52 1.297 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.296 2018/04/13 16:28:07 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.297 2018/04/24 00:36:52 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -516,7 +516,7 @@ mdoc_sh_pre(MDOC_ARGS) id = html_make_id(n); print_otag(h, TAG_H1, "cTi", "Sh", id); if (id != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); free(id); break; case ROFFT_BODY: @@ -540,7 +540,7 @@ mdoc_ss_pre(MDOC_ARGS) id = html_make_id(n); print_otag(h, TAG_H2, "cTi", "Ss", id); if (id != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); free(id); return 1; } @@ -551,7 +551,7 @@ mdoc_fl_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Fl", id); free(id); @@ -571,7 +571,7 @@ mdoc_cm_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Cm", id); free(id); return 1; @@ -1070,7 +1070,7 @@ mdoc_dv_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Dv", id); free(id); return 1; @@ -1082,7 +1082,7 @@ mdoc_ev_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Ev", id); free(id); return 1; @@ -1100,7 +1100,7 @@ mdoc_er_pre(MDOC_ARGS) html_make_id(n) : NULL; if (id != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Er", id); free(id); return 1; @@ -1451,7 +1451,7 @@ mdoc_ic_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Ic", id); free(id); return 1; @@ -1508,7 +1508,7 @@ mdoc_ms_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Ms", id); free(id); return 1; @@ -1549,7 +1549,7 @@ mdoc_no_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_SPAN, "ci", "No", id); free(id); return 1; @@ -1561,7 +1561,7 @@ mdoc_li_pre(MDOC_ARGS) char *id; if ((id = cond_id(n)) != NULL) - print_otag(h, TAG_A, "chR", "selflink", id); + print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "ci", "Li", id); free(id); return 1;