diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-07 22:56:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-07 22:56:02 +0000 |
commit | 78bf8cb3c86e47d614af8f2629bdc00e459cf758 (patch) | |
tree | d8d6f94069f3e5d03420e282492ea5c7206af2f8 /regress/mdoc/Fo | |
parent | b19e09dbeb7e957bca580776d8b3a4651016c904 (diff) | |
download | mandoc-78bf8cb3c86e47d614af8f2629bdc00e459cf758.tar.gz |
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_html | 13 |
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> |