From 148d2c46cd398373b00ef1731be4f88e4a5b76f0 Mon Sep 17 00:00:00 2001 From: rxi Date: Mon, 14 Apr 2014 21:41:19 +0100 Subject: [PATCH] Changed lovebird.print()'d newlines to be displayed correctly --- lovebird.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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