From 8d38a56221dff0df80fad41dc61bbc4131d96169 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 4 Nov 2026 23:13:43 -1000 Subject: Put a Lua filter's print output where it runs LuaJIT and Lua 5.1 leave print's line in stdio's buffer until cgit exits, after the end of the page. --- MANUAL.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index e17d5fd..4b1e8f5 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -844,6 +844,9 @@ specification with one of these strings. Url escapes for an argument and writes 'str' to the webpage. 'html_include(file)':: Includes 'file' in webpage. + 'print(...)':: + Writes its arguments to the webpage unescaped, a tab between + each and a newline at the end, as Lua's own print lays them out. Parameters are provided to filters as follows. -- cgit 2.12.1