summaryrefslogtreecommitdiffstats
path: root/regress/man/TP
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-20 13:07:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-20 13:07:24 +0000
commit2258889db3530de027ab40978bb09a8a824e9c5f (patch)
tree3397ad64fc7264299ca618c68bee2b1dc548b6d7 /regress/man/TP
parent25b07ce44ad2c1d5e59d80a7abb5385c5d62169d (diff)
downloadmandoc-2258889db3530de027ab40978bb09a8a824e9c5f.tar.gz
In fragment identifiers, use ~%d for ordinal suffixes,
and reserve the character '~' for that purpose. Bug found by validator.w3.org in openssl(1), which contains both a tag "tls1_2" and a second instance of a tag "tls1", which also resulted in "tls1_2", causing a clash. Now, the second instance of "tls1" is rendered as "tls1~2" instead, employing the newly reserved '~'.
Diffstat (limited to 'regress/man/TP')
-rw-r--r--regress/man/TP/literal.out_html2
-rw-r--r--regress/man/TP/vert.out_html2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/man/TP/literal.out_html b/regress/man/TP/literal.out_html
index 8b818ed8..914c7b5c 100644
--- a/regress/man/TP/literal.out_html
+++ b/regress/man/TP/literal.out_html
@@ -8,7 +8,7 @@ literal
text
</pre>
<dl class="Bl-tag">
- <dt id="tag_2"><a class="permalink" href="#tag_2">tag</a></dt>
+ <dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt>
<dd>
<pre>
indented
diff --git a/regress/man/TP/vert.out_html b/regress/man/TP/vert.out_html
index 1124ed33..4499432b 100644
--- a/regress/man/TP/vert.out_html
+++ b/regress/man/TP/vert.out_html
@@ -4,6 +4,6 @@
<dl class="Bl-tag">
<dt id="tag"><a class="permalink" href="#tag">tag</a></dt>
<dd>text</dd>
- <dt id="tag_2"><a class="permalink" href="#tag_2">tag</a></dt>
+ <dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt>
<dd>text</dd>
</dl>