summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fl/tag.out_html
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
commit78bf8cb3c86e47d614af8f2629bdc00e459cf758 (patch)
treed8d6f94069f3e5d03420e282492ea5c7206af2f8 /regress/mdoc/Fl/tag.out_html
parentb19e09dbeb7e957bca580776d8b3a4651016c904 (diff)
downloadmandoc-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/Fl/tag.out_html')
-rw-r--r--regress/mdoc/Fl/tag.out_html4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/mdoc/Fl/tag.out_html b/regress/mdoc/Fl/tag.out_html
index f67a30c0..c101124f 100644
--- a/regress/mdoc/Fl/tag.out_html
+++ b/regress/mdoc/Fl/tag.out_html
@@ -1,8 +1,8 @@
<dl class="Bl-tag">
- <dt><a class="permalink" href="#a"><code class="Fl" id="a">-a</code></a> |
+ <dt id="a"><a class="permalink" href="#a"><code class="Fl">-a</code></a> |
<a class="permalink" href="#b"><code class="Fl" id="b">-b</code></a></dt>
<dd>text</dd>
- <dt><a class="permalink" href="#c"><code class="Fl" id="c">-c</code></a></dt>
+ <dt id="c"><a class="permalink" href="#c"><code class="Fl">-c</code></a></dt>
<dd>text</dd>
</dl>
<a class="permalink" href="#d"><code class="Fl" id="d">-d</code></a>