diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-18 20:40:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-18 20:40:10 +0000 |
commit | fcd488027f8d6316b641cffa970d451df8a92c76 (patch) | |
tree | d6d2d4b2d01db1839ff1d98268209c616b5304bb /regress/mdoc/Bd/paragraph.out_html | |
parent | 637b922ab2b2aa18419a0abed18ae9d2fed4e50a (diff) | |
download | mandoc-fcd488027f8d6316b641cffa970d451df8a92c76.tar.gz mandoc-fcd488027f8d6316b641cffa970d451df8a92c76.tar.zst mandoc-fcd488027f8d6316b641cffa970d451df8a92c76.zip |
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/mdoc/Bd/paragraph.out_html')
-rw-r--r-- | regress/mdoc/Bd/paragraph.out_html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/regress/mdoc/Bd/paragraph.out_html b/regress/mdoc/Bd/paragraph.out_html index f537335e..07a02769 100644 --- a/regress/mdoc/Bd/paragraph.out_html +++ b/regress/mdoc/Bd/paragraph.out_html @@ -1,6 +1,8 @@ -<p class="Pp" id="npara">normal paragraph</p> +<p class="Pp" id="npara"><a class="permalink" href="#npara">normal</a> + paragraph</p> <div class="Bd Pp" id="filled">filled display -<p class="Pp" id="fpara">paragraph in display</p> +<p class="Pp" id="fpara"><a class="permalink" href="#fpara">paragraph</a> in + display</p> </div> back to normal <p class="Pp">another paragraph</p> @@ -9,7 +11,7 @@ back to normal unfilled display <mark id="upara"></mark> -unfilled +<a class="permalink" href="#upara">unfilled</a> paragraph </pre> </div> |