summaryrefslogtreecommitdiffstats
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
commit1af5f44d9eec0e4f40a3eb9015d2308ad792ce68 (patch)
tree76a3d6ed459948f5ed8134c22cab3cf945a4c413 /mdoc_html.c
parent9ae5efa98d12fee60b8b08cead624275dd828742 (diff)
downloadmandoc-1af5f44d9eec0e4f40a3eb9015d2308ad792ce68.tar.gz
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.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 02700d07..2bcbf4d0 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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;