[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.5, Fri Oct 16 17:22:49 2020 UTC (3 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.4: +6 -12 lines

In HTML output, avoid printing a newline right after <pre>
and right before </pre> because that resulted in vertical
whitespace not requested by the manual page author.

Formatting bug reported by
Aman Verma <amanraoverma plus vim at gmail dot com> on discuss@.

<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/>