fix: read stdin properly

main
Guilian 2025-01-20 17:05:44 +01:00
parent 79d6a8f77d
commit 94f7694c1e
Signed by: Guilian
GPG Key ID: B86CC9678982ED8C
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ if html_file ~= "-" then
html = handle:read("a")
else
html = io.read()
html = io.read("a")
end
local document = HTML.parse( html )