Merge pull request #2668 from blueyed/fix-naughty
Fix extra newline with legacy naughty layout
This commit is contained in:
commit
2d0a35c37d
|
@ -131,9 +131,8 @@ local escape_subs = { ['<'] = "<", ['>'] = ">", ['&'] = "&" }
|
||||||
|
|
||||||
-- Cache the markup
|
-- Cache the markup
|
||||||
local function set_escaped_text(self)
|
local function set_escaped_text(self)
|
||||||
local text, title = self.message or "", self.title or ""
|
local text = self.message or ""
|
||||||
|
local title = self.title and self.title .. "\n" or ""
|
||||||
if title then title = title .. "\n" else title = "" end
|
|
||||||
|
|
||||||
local textbox = self.textbox
|
local textbox = self.textbox
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue