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

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

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

  <br/>
  initial regular text</p>
<pre>literal text
before display</pre>
<div class="Bd-indent">
<pre>This is a short line.
This is a very long line that would wrap if it weren't in literal context.</pre>
</div>
<pre>literal text
after display</pre>
<p class="Pp">final regular text
  <br/>