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

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

Revision 1.3, Fri Mar 1 10:57:19 2019 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.2: +3 -0 lines

Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements
as recommended for accessibility by the HTML 5 standard.
Triggered by a similar, but slightly different suggestion
from Laura Morales <lauretas at mail dot com>.

BEGINTEST before indentation
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>indented regular text</dd>
</dl>
<p class="Pp">new regular paragraph</p>
<pre>
literal
text
</pre>
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>
    <pre>
indented
literal
text
    </pre>
  </dd>
</dl>
<pre>
new
literal
paragraph
</pre>
regular text
<section class="Ss">
<h2 class="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal
  into indented paragraph</a></h2>
regular text
<pre>
literal
text
</pre>
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>
    <pre>
indented
literal
text
    </pre>
    indented regular text</dd>
</dl>
<p class="Pp">new regular paragraph</p>
</section>
<section class="Ss">
<h2 class="Ss" id="literal_out_of_indented_paragraph"><a class="permalink" href="#literal_out_of_indented_paragraph">literal
  out of indented paragraph</a></h2>
regular text
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>indented regular text
    <pre>
indented
literal
text
    </pre>
  </dd>
</dl>
<pre>
new
literal
paragraph
</pre>
regular text
<br/>
ENDTEST