forked from mia/Aegisub
More sensible operation for empty "line" templates.
Originally committed to SVN as r1242.
This commit is contained in:
parent
d84d930c87
commit
520f380fbc
1 changed files with 5 additions and 1 deletions
|
@ -456,7 +456,11 @@ function apply_line(meta, styles, subs, line, templates, tenv)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- hmm, no main template for the line... put original text in
|
-- hmm, no main template for the line... put original text in
|
||||||
newline.text = newline.text .. line.text
|
if t.keeptags then
|
||||||
|
newline.text = newline.text .. line.text
|
||||||
|
else
|
||||||
|
newline.text = newline.text .. line.text_stripped
|
||||||
|
end
|
||||||
end
|
end
|
||||||
newline.effect = "fx"
|
newline.effect = "fx"
|
||||||
subs.append(newline)
|
subs.append(newline)
|
||||||
|
|
Loading…
Reference in a new issue