[mugenizer] cleantags before removing lead-ins

remove lead-ins correctly for lines that start like this:
	{\fad(300,200)}{\k100}{\k10}
This commit is contained in:
odrling 2019-08-10 17:10:41 +02:00
parent 23b76280a5
commit 375ca67a22
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ function mugenizer(subs)
first = i
end
line.text = cleantags(line.text)
while hasleadin(line) do
if aegisub.progress.is_cancelled() then return end
line = removeleadin(line)