diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-20 13:07:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-20 13:07:24 +0000 |
commit | d75c48416eef7eb48487f6dc9a1bafa2c262b81c (patch) | |
tree | 3120d383a66d7862dd79a02c1cdd3c8150476589 /regress/mdoc/Sh/tag.out_html | |
parent | 53e82aa8ae9cb194d4b8418e8dd4223a4a5097d3 (diff) | |
download | mandoc-d75c48416eef7eb48487f6dc9a1bafa2c262b81c.tar.gz mandoc-d75c48416eef7eb48487f6dc9a1bafa2c262b81c.tar.zst 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/Sh/tag.out_html')
-rw-r--r-- | regress/mdoc/Sh/tag.out_html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/mdoc/Sh/tag.out_html b/regress/mdoc/Sh/tag.out_html index d99c6d4d..0dd39398 100644 --- a/regress/mdoc/Sh/tag.out_html +++ b/regress/mdoc/Sh/tag.out_html @@ -2,7 +2,7 @@ </section> </section> <section class="Sh"> -<h1 class="Sh" id="DESCRIPTION_2"><a class="permalink" href="#DESCRIPTION_2">DESCRIPTION</a></h1> +<h1 class="Sh" id="DESCRIPTION~2"><a class="permalink" href="#DESCRIPTION~2">DESCRIPTION</a></h1> <p class="Pp">Text in duplicate description section.</p> </section> <section class="Sh"> |