aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/SY/literal.out_html
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-05 21:55:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-05 21:55:11 +0000
commit589d3fbc1807388fbe883742468701520d81c047 (patch)
tree0ab622cf22a39bbedaf23d8b1622768f3ab03239 /regress/man/SY/literal.out_html
parent90df3f10ba3a29b23b62fdad06cdae3f2c051e4f (diff)
downloadmandoc-589d3fbc1807388fbe883742468701520d81c047.tar.gz
mandoc-589d3fbc1807388fbe883742468701520d81c047.tar.zst
mandoc-589d3fbc1807388fbe883742468701520d81c047.zip
In no-fill mode, avoid bogus blank lines in two situations:
1. After the last child; the parent will take care of the line break. 2. At the .YS macro; the end of the preceding .SY already broke the line.
Diffstat (limited to 'regress/man/SY/literal.out_html')
-rw-r--r--regress/man/SY/literal.out_html31
1 files changed, 31 insertions, 0 deletions
diff --git a/regress/man/SY/literal.out_html b/regress/man/SY/literal.out_html
new file mode 100644
index 00000000..b1f378cf
--- /dev/null
+++ b/regress/man/SY/literal.out_html
@@ -0,0 +1,31 @@
+BEGINTEST
+<br/>
+initial regular text
+<table class="Nm">
+ <tr>
+ <td><code class="Nm" title="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" title="Nm">command</code></td>
+ <td>
+ <pre>
+<i>arguments</i>
+ </pre>
+ </td>
+ </tr>
+</table>
+<pre>
+literal text
+after display
+</pre>
+final regular text
+<br/>
+ENDTEST