diff options
author | 2020-04-20 13:07:24 +0000 | |
---|---|---|
committer | 2020-04-20 13:07:24 +0000 | |
commit | d75c48416eef7eb48487f6dc9a1bafa2c262b81c (patch) | |
tree | 3120d383a66d7862dd79a02c1cdd3c8150476589 /regress/man/IP | |
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/man/IP')
-rw-r--r-- | regress/man/IP/literal.out_html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/man/IP/literal.out_html b/regress/man/IP/literal.out_html index 3b9cc429..aa0536e7 100644 --- a/regress/man/IP/literal.out_html +++ b/regress/man/IP/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 @@ -32,7 +32,7 @@ literal text </pre> <dl class="Bl-tag"> - <dt id="tag_3"><a class="permalink" href="#tag_3">tag</a></dt> + <dt id="tag~3"><a class="permalink" href="#tag~3">tag</a></dt> <dd> <pre> indented @@ -48,7 +48,7 @@ text out of indented paragraph</a></h2> <p class="Pp">regular text</p> <dl class="Bl-tag"> - <dt id="tag_4"><a class="permalink" href="#tag_4">tag</a></dt> + <dt id="tag~4"><a class="permalink" href="#tag~4">tag</a></dt> <dd>indented regular text <pre> indented |