summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_html.c4
-rw-r--r--mandoc.css2
-rw-r--r--mdoc_html.c22
3 files changed, 14 insertions, 14 deletions
diff --git a/man_html.c b/man_html.c
index b0cd083f..c23f2a92 100644
--- a/man_html.c
+++ b/man_html.c
@@ -431,7 +431,7 @@ man_SH_pre(MAN_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);
}
return 1;
@@ -501,7 +501,7 @@ man_SS_pre(MAN_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;
diff --git a/mandoc.css b/mandoc.css
index 47621b63..4dc48580 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -14,7 +14,7 @@ ul, ol, dl { margin-top: 0em;
margin-bottom: 0em; }
li, dt { margin-top: 1em; }
-a.selflink { border-bottom: thin dotted;
+a.permalink { border-bottom: thin dotted;
color: inherit;
font: inherit;
text-decoration: inherit; }
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;