aboutsummaryrefslogtreecommitdiff
path: root/manual/2html
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-08-07 15:59:21 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-08-07 15:59:21 -0300
commit312b9efaa1061c2c4cad08554dbc1351c3270eef (patch)
tree6a95bfcff34921e4516ea47b960ccd33ed6c4ee6 /manual/2html
parent03aabbc636eacf27a16694e5d86e4551ade8a954 (diff)
downloadlua-5.4.9.tar.gz
lua-5.4.9.tar.bz2
lua-5.4.9.zip
Small corrections in the manualv5.4.9v5.4
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