=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.171 retrieving revision 1.172 diff -c -r1.171 -r1.172 *** src/usr.bin/mandoc/mdoc_html.c 2018/04/13 16:27:14 1.171 --- src/usr.bin/mandoc/mdoc_html.c 2018/04/24 00:36:04 1.172 *************** *** 1,4 **** ! /* $OpenBSD: mdoc_html.c,v 1.171 2018/04/13 16:27:14 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: mdoc_html.c,v 1.172 2018/04/24 00:36:04 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze *************** *** 514,520 **** id = html_make_id(n); print_otag(h, TAG_H1, "cTi", "Sh", id); if (id != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); free(id); break; case ROFFT_BODY: --- 514,520 ---- id = html_make_id(n); print_otag(h, TAG_H1, "cTi", "Sh", id); if (id != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); free(id); break; case ROFFT_BODY: *************** *** 538,544 **** id = html_make_id(n); print_otag(h, TAG_H2, "cTi", "Ss", id); if (id != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); free(id); return 1; } --- 538,544 ---- id = html_make_id(n); print_otag(h, TAG_H2, "cTi", "Ss", id); if (id != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); free(id); return 1; } *************** *** 549,555 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_B, "cTi", "Fl", id); free(id); --- 549,555 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Fl", id); free(id); *************** *** 569,575 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_B, "cTi", "Cm", id); free(id); return 1; --- 569,575 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Cm", id); free(id); return 1; *************** *** 1068,1074 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_CODE, "cTi", "Dv", id); free(id); return 1; --- 1068,1074 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Dv", id); free(id); return 1; *************** *** 1080,1086 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_CODE, "cTi", "Ev", id); free(id); return 1; --- 1080,1086 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Ev", id); free(id); return 1; *************** *** 1098,1104 **** html_make_id(n) : NULL; if (id != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_CODE, "cTi", "Er", id); free(id); return 1; --- 1098,1104 ---- html_make_id(n) : NULL; if (id != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "cTi", "Er", id); free(id); return 1; *************** *** 1449,1455 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_B, "cTi", "Ic", id); free(id); return 1; --- 1449,1455 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Ic", id); free(id); return 1; *************** *** 1506,1512 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_B, "cTi", "Ms", id); free(id); return 1; --- 1506,1512 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_B, "cTi", "Ms", id); free(id); return 1; *************** *** 1547,1553 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_SPAN, "ci", "No", id); free(id); return 1; --- 1547,1553 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_SPAN, "ci", "No", id); free(id); return 1; *************** *** 1559,1565 **** char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "selflink", id); print_otag(h, TAG_CODE, "ci", "Li", id); free(id); return 1; --- 1559,1565 ---- char *id; if ((id = cond_id(n)) != NULL) ! print_otag(h, TAG_A, "chR", "permalink", id); print_otag(h, TAG_CODE, "ci", "Li", id); free(id); return 1;