Commit: 0b5f0a106430c17897c614b732d7917486e318c5
Parent: 6b92ec21d1d769a893029952a37823f8f707b1b6
Author: Ren Tatsumoto
Date: Tue, 4 Aug 2020 22:13:07 +0300
newlines are replaced with spaces
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -93,7 +93,7 @@ function remove_text_in_parentheses(str)
end
function remove_newlines(str)
- return str:gsub('\r', ''):gsub('%s*\n', '')
+ return str:gsub('\r', ''):gsub('%s*\n', ' ')
end
function escape_apostrophes(str)