diff --git a/lovebird.lua b/lovebird.lua index b946c4f..cb799e4 100644 --- a/lovebird.lua +++ b/lovebird.lua @@ -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", "
") end if line.count > 1 then str = '' .. line.count .. ' ' .. str