aboutsummaryrefslogtreecommitdiff
path: root/manual/2html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmanual/2html7
1 files changed, 4 insertions, 3 deletions
diff --git a/manual/2html b/manual/2html
index 4e4de58a..f7952bd6 100755
--- a/manual/2html
+++ b/manual/2html
@@ -58,7 +58,7 @@ end
58 58
59local function compose (f,g) 59local function compose (f,g)
60 assert(f and g) 60 assert(f and g)
61 return function (s) return g(f(s)) end 61 return function (...) return g(f(...)) end
62end 62end
63 63
64local function concat (f, g) 64local function concat (f, g)
@@ -395,9 +395,10 @@ APIEntry = function (e)
395 local apiicmd, ne = string.match(e, "^(.-</span>)(.*)") 395 local apiicmd, ne = string.match(e, "^(.-</span>)(.*)")
396--io.stderr:write(e) 396--io.stderr:write(e)
397 if not apiicmd then 397 if not apiicmd then
398 return antipara(Tag.hr() .. Tag.h3(a)) .. Tag.pre(h) .. e 398 return antipara(Tag.hr() .. Tag.h3(a)) .. Tag.pre(h, {class="api"}) .. e
399 else 399 else
400 return antipara(Tag.hr() .. Tag.h3(a)) .. apiicmd .. Tag.pre(h) .. ne 400 return antipara(Tag.hr() .. Tag.h3(a)) .. apiicmd ..
401 Tag.pre(h, {class="api"}) .. ne
401 end 402 end
402end, 403end,
403 404