aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Cm
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/Cm
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/Cm')
-rw-r--r--regress/mdoc/Cm/tag.out_html10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/mdoc/Cm/tag.out_html b/regress/mdoc/Cm/tag.out_html
index 134f21c4..5141f52a 100644
--- a/regress/mdoc/Cm/tag.out_html
+++ b/regress/mdoc/Cm/tag.out_html
@@ -1,15 +1,15 @@
<dl class="Bl-tag">
- <dt><a class="permalink" href="#one"><code class="Cm" id="one">one</code></a>
+ <dt id="one"><a class="permalink" href="#one"><code class="Cm">one</code></a>
|
<a class="permalink" href="#two"><code class="Cm" id="two">two</code></a></dt>
<dd>text</dd>
- <dt><a class="permalink" href="#three"><code class="Cm" id="three">three</code></a></dt>
+ <dt id="three"><a class="permalink" href="#three"><code class="Cm">three</code></a></dt>
<dd>text</dd>
- <dt><a class="permalink" href="#hyphen"><code class="Cm" id="hyphen">-hyphen</code></a></dt>
+ <dt id="hyphen"><a class="permalink" href="#hyphen"><code class="Cm">-hyphen</code></a></dt>
<dd>text</dd>
- <dt><a class="permalink" href="#minus"><code class="Cm" id="minus">-minus-sign</code></a></dt>
+ <dt id="minus"><a class="permalink" href="#minus"><code class="Cm">-minus-sign</code></a></dt>
<dd>text</dd>
- <dt><a class="permalink" href="#backslash"><code class="Cm" id="backslash">\backslash</code></a></dt>
+ <dt id="backslash"><a class="permalink" href="#backslash"><code class="Cm">\backslash</code></a></dt>
<dd>text</dd>
</dl>
<a class="permalink" href="#four"><code class="Cm" id="four">four</code></a>