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

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

Revision 1.4, Fri Oct 16 17:22:48 2020 UTC (3 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.3: +5 -11 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@.

  <br/>
  initial regular text</p>
<table class="Nm">
  <tr>
    <td><code class="Nm">command</code></td>
    <td><i>arguments</i></td>
  </tr>
</table>
middle regular text
<pre>literal text
before display</pre>
<table class="Nm">
  <tr>
    <td><code class="Nm">command</code></td>
    <td>
    <pre><i>arguments</i></pre>
    </td>
  </tr>
</table>
<pre>literal text
after display</pre>
<p class="Pp">final regular text
  <br/>