summaryrefslogtreecommitdiffstats
path: root/genman.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-09 19:53:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-09 19:53:10 -0700
commitef39c231bf165fb50545e9046f8358e9e25fb07c (patch)
treedd6c8cecf489027c85900d3f6dead704d174180b /genman.txr
parent6faef5e7e7bbfad85d85ab9e29d58070c9d679e0 (diff)
downloadtxr-ef39c231bf165fb50545e9046f8358e9e25fb07c.tar.gz
txr-ef39c231bf165fb50545e9046f8358e9e25fb07c.tar.bz2
txr-ef39c231bf165fb50545e9046f8358e9e25fb07c.zip
doc html: TOC indentation issue on Chrome.
* genman.txr: Hack: put <dd> before nested <dl> element in table of contents. Without this, the nested lists are rendered flush left by Google Chrome. With this, they are indented. Chrome adds ugly whitespace around the embedded definition lists, but it's better than no identation.
Diffstat (limited to 'genman.txr')
-rw-r--r--genman.txr2
1 files changed, 1 insertions, 1 deletions
diff --git a/genman.txr b/genman.txr
index eab9fec7..1f20c11f 100644
--- a/genman.txr
+++ b/genman.txr
@@ -116,7 +116,7 @@ Content-type: text/html
`<a href="#/" onclick="toggle(this, '@id')" class="toggle">@(if closed closedtxt opentxt)</a>`))
@ (output :into TOC)
@TOC
-<dl id="@id"@(if closed " style=\"display: none\"")>
+<dd><dl id="@id"@(if closed " style=\"display: none\"")>
@ (end)
@ (end)
@(until)