Compare commits

...

2 Commits

Author SHA1 Message Date
dd8432ef34 Merge remote-tracking branch 'upstream/master' 2021-01-24 12:54:09 +01:00
af4a699e19 Fix LuaCheck warning (#69) 2021-01-24 10:42:01 +01:00

View File

@ -84,9 +84,8 @@ local create_lines = function(text)
line = word
end
else
if word == " " then
-- don't add the space since we have a line break
else
if word ~= " " then
if line_len > 0 then
-- ok, we need the new line
if flush_line_and_check_for_return() then return tab end