forked from mia/Aegisub
'keeptags' modifier didn't do anything for non-'line' templates.
Originally committed to SVN as r1525.
This commit is contained in:
parent
8fa7e1103e
commit
154e2840fb
1 changed files with 3 additions and 1 deletions
|
@ -675,7 +675,9 @@ function apply_one_syllable_template(syl, line, template, tenv, varctx, subs, sk
|
|||
newline.layer = t.layer
|
||||
tenv.line = newline
|
||||
newline.text = run_text_template(t.t, tenv, varctx)
|
||||
if t.addtext then
|
||||
if t.keeptags then
|
||||
newline.text = newline.text .. syl.text
|
||||
elseif t.addtext then
|
||||
newline.text = newline.text .. syl.text_stripped
|
||||
end
|
||||
newline.effect = "fx"
|
||||
|
|
Loading…
Reference in a new issue