diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-08-07 15:59:21 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-08-07 15:59:21 -0300 |
| commit | 312b9efaa1061c2c4cad08554dbc1351c3270eef (patch) | |
| tree | 6a95bfcff34921e4516ea47b960ccd33ed6c4ee6 /manual/2html | |
| parent | 03aabbc636eacf27a16694e5d86e4551ade8a954 (diff) | |
| download | lua-5.4.9.tar.gz lua-5.4.9.tar.bz2 lua-5.4.9.zip | |
Diffstat (limited to '')
| -rwxr-xr-x | manual/2html | 7 |
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 | ||
| 59 | local function compose (f,g) | 59 | local 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 |
| 62 | end | 62 | end |
| 63 | 63 | ||
| 64 | local function concat (f, g) | 64 | local 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 |
| 402 | end, | 403 | end, |
| 403 | 404 | ||
