aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-04-24 00:36:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-04-24 00:36:52 +0000
commit6a69699c15f061c592b60c0fce329c88307113b1 (patch)
tree8abbc9a0f61c29065fb7ca95dc111dd4e4424a09 /mdoc_html.c
parent6bba39783f25286f8494b8d213f1e163db47b54a (diff)
downloadmandoc-6a69699c15f061c592b60c0fce329c88307113b1.tar.gz
mandoc-6a69699c15f061c592b60c0fce329c88307113b1.tar.zst
mandoc-6a69699c15f061c592b60c0fce329c88307113b1.zip
replace my vague and idiosyncratic term "selflink"
with the clearer and more usual "permalink"; suggested by John Gardner <gardnerjohng at gmail dot com>
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 6d26f808..a6df4700 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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 <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;