summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc/Pp/arg.out_html
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2020-04-18 20:28:47 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2020-04-18 20:28:47 +0000
commitadc0e7e7748edd333b4d5812fc65a5a80b390c3b (patch)
treeff4a4c428773b930cc227400d251e1415f1e24be /regress/usr.bin/mandoc/mdoc/Pp/arg.out_html
parentbcc61c2472f57078a62b7714dcd78706d334efd5 (diff)
When a .Tg is attached to a paragraph, attach the permalink
to the first word, or the first few words if they are short.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Pp/arg.out_html')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Pp/arg.out_html6
1 files changed, 6 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Pp/arg.out_html b/regress/usr.bin/mandoc/mdoc/Pp/arg.out_html
new file mode 100644
index 00000000000..c601661c4ac
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Pp/arg.out_html
@@ -0,0 +1,6 @@
+<p class="Pp">line 1</p>
+<p class="Pp" id="first"><a class="permalink" href="#first">line 2</a>
+ <br/>
+ line 3</p>
+<p class="Pp">line 4</p>
+<p class="Pp" id="last"><a class="permalink" href="#last">final</a> text</p>