[BACK]Return to literal.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / TP

File: [cvsweb.bsd.lv] / mandoc / regress / man / TP / literal.out_html (download)

Revision 1.4, Mon Apr 20 13:07:26 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +1 -1 lines

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 '~'.

<dl class="Bl-tag">
  <dt id="tag"><a class="permalink" href="#tag">tag</a></dt>
  <dd>regular indented text</dd>
</dl>
<p class="Pp">regular paragraph</p>
<pre>
literal
text
</pre>
<dl class="Bl-tag">
  <dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt>
  <dd>
    <pre>
indented
literal
text
    </pre>
  </dd>
</dl>
<pre>
literal
paragraph
</pre>
regular text
<br/>