mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-15 22:54:21 +00:00
Changed lovebird.print()'d newlines to be displayed correctly
This commit is contained in:
parent
866cff673d
commit
148d2c46cd
@ -478,7 +478,7 @@ function lovebird.print(...)
|
||||
local function doline(line)
|
||||
local str = line.str
|
||||
if not lovebird.allowhtml then
|
||||
str = lovebird.htmlescape(line.str)
|
||||
str = lovebird.htmlescape(line.str):gsub("\n", "<br>")
|
||||
end
|
||||
if line.count > 1 then
|
||||
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str
|
||||
|
Loading…
Reference in New Issue
Block a user