summaryrefslogtreecommitdiffstats
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
commitab3299454fe59f19b6e8a459bbb06880cd2e23d9 (patch)
treedd6c8cecf489027c85900d3f6dead704d174180b
parentf45cd8e9797e4397b2e8ea9a7928492ba22a1651 (diff)
downloadtxr-ab3299454fe59f19b6e8a459bbb06880cd2e23d9.tar.gz
txr-ab3299454fe59f19b6e8a459bbb06880cd2e23d9.tar.bz2
txr-ab3299454fe59f19b6e8a459bbb06880cd2e23d9.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.
-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)