aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Fo
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-07 22:56:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-07 22:56:02 +0000
commitf4c07cc80595b2276a99fd6e5c95c734187feaab (patch)
tree23f120c67a8a3f6a33615c3d4d9f8115ed9ac08d /regress/mdoc/Fo
parent70b71d1de24478a8fcc7413f1cb42c83db416bc3 (diff)
downloadmandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.tar.gz
mandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.tar.zst
mandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.zip
Separate the place to put the <a href> permalink (now marked
with NODE_HREF) from the target element of the link (still marked with NODE_ID). In many cases, use this to move the target to the beginning of the paragraph, such that readers don't get dropped into the middle of a sentence.
Diffstat (limited to 'regress/mdoc/Fo')
-rw-r--r--regress/mdoc/Fo/tag.out_html13
1 files changed, 6 insertions, 7 deletions
diff --git a/regress/mdoc/Fo/tag.out_html b/regress/mdoc/Fo/tag.out_html
index b3508614..018ff92e 100644
--- a/regress/mdoc/Fo/tag.out_html
+++ b/regress/mdoc/Fo/tag.out_html
@@ -1,9 +1,8 @@
-<p class="Pp">automatic:
- <a class="permalink" href="#first"><code class="Fn" id="first">first</code></a>()
- and <code class="Fn">second</code>()</p>
-<p class="Pp"><a class="permalink" href="#second"><code class="Fn" id="second">second</code></a>()
+<p class="Pp" id="first">automatic:
+ <a class="permalink" href="#first"><code class="Fn">first</code></a>() and
+ <code class="Fn">second</code>()</p>
+<p class="Pp" id="second"><a class="permalink" href="#second"><code class="Fn">second</code></a>()
and <code class="Fn">first</code>()</p>
-<p class="Pp">explicit:
- <a class="permalink" href="#e3"><code class="Fn" id="e3">third</code></a>()
- and
+<p class="Pp" id="e3">explicit:
+ <a class="permalink" href="#e3"><code class="Fn">third</code></a>() and
<a class="permalink" href="#e4"><code class="Fn" id="e4">fourth</code></a>(<var class="Fa">void</var>);</p>