aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bd
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
commitd75c48416eef7eb48487f6dc9a1bafa2c262b81c (patch)
tree3120d383a66d7862dd79a02c1cdd3c8150476589 /regress/mdoc/Bd
parent53e82aa8ae9cb194d4b8418e8dd4223a4a5097d3 (diff)
downloadmandoc-d75c48416eef7eb48487f6dc9a1bafa2c262b81c.tar.gz
mandoc-d75c48416eef7eb48487f6dc9a1bafa2c262b81c.zip
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/mdoc/Bd')
-rw-r--r--regress/mdoc/Bd/nested.out_html4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/mdoc/Bd/nested.out_html b/regress/mdoc/Bd/nested.out_html
index bc71c270..94761895 100644
--- a/regress/mdoc/Bd/nested.out_html
+++ b/regress/mdoc/Bd/nested.out_html
@@ -8,10 +8,10 @@
outer text</div>
regular text
<div class="Bd Pp
- Bd-indent" id="outer_2"><a class="permalink" href="#outer_2">outer</a> text
+ Bd-indent" id="outer~2"><a class="permalink" href="#outer~2">outer</a> text
(4n)
<div class="Bd Pp
- Bd-indent" id="inner_2"><a class="permalink" href="#inner_2">inner</a> text
+ Bd-indent" id="inner~2"><a class="permalink" href="#inner~2">inner</a> text
(2n)</div>
outer text
<dl class="Bl-tag">