strip.lua no longer removes newlines after comments

This commit is contained in:
Izaya 2017-09-26 13:59:08 +10:00 committed by Izaya
parent af787e31e7
commit d320de1866

View File

@ -22,7 +22,7 @@ replacements={
{" %/ ","/"}, {" %/ ","/"},
{" %* ","*"}, {" %* ","*"},
{" \n","\n"}, {" \n","\n"},
{"%-%-.-\n",""}, {"%-%-.-\n","\n"},
} }
for k,v in ipairs(replacements) do for k,v in ipairs(replacements) do
while ss:find(v[1]) ~= nil do while ss:find(v[1]) ~= nil do