From 2258889db3530de027ab40978bb09a8a824e9c5f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 20 Apr 2020 13:07:24 +0000 Subject: 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 '~'. --- regress/mdoc/Bd/nested.out_html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/mdoc/Bd/nested.out_html') 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 regular text
text + Bd-indent" id="outer~2"> text (4n)
text + Bd-indent" id="inner~2"> text (2n)
outer text
-- cgit