summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bd/nested.out_html
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-19 16:36:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-19 16:36:16 +0000
commit25b07ce44ad2c1d5e59d80a7abb5385c5d62169d (patch)
treea8e00aace70544f81d2501a34aaf190b7d1d6b33 /regress/mdoc/Bd/nested.out_html
parenta7eb58f8be5552047bb2594077d548bec819a6d5 (diff)
downloadmandoc-25b07ce44ad2c1d5e59d80a7abb5385c5d62169d.tar.gz
When .Bd, .D1, or .Dl is tagged, attach the permalink
to the first few letters, similar to what was earlier done for .Pp.
Diffstat (limited to 'regress/mdoc/Bd/nested.out_html')
-rw-r--r--regress/mdoc/Bd/nested.out_html28
1 files changed, 28 insertions, 0 deletions
diff --git a/regress/mdoc/Bd/nested.out_html b/regress/mdoc/Bd/nested.out_html
new file mode 100644
index 00000000..bc71c270
--- /dev/null
+++ b/regress/mdoc/Bd/nested.out_html
@@ -0,0 +1,28 @@
+<p class="Pp">regular text</p>
+<div class="Bd Pp
+ Bd-indent" id="outer"><a class="permalink" href="#outer">outer</a> text
+ (default indent)
+<div class="Bd Pp
+ Bd-indent" id="inner"><a class="permalink" href="#inner">inner</a> text
+ (default indent)</div>
+outer text</div>
+regular text
+<div class="Bd Pp
+ Bd-indent" id="outer_2"><a class="permalink" href="#outer_2">outer</a> text
+ (4n)
+<div class="Bd Pp
+ Bd-indent" id="inner_2"><a class="permalink" href="#inner_2">inner</a> text
+ (2n)</div>
+outer text
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>text</dd>
+</dl>
+outer text</div>
+regular text
+<dl class="Bl-tag">
+ <dt>tag</dt>
+ <dd>outer text
+ <div class="Bd Pp Bd-indent">inner text (2n)</div>
+ outer text</dd>
+</dl>