'keeptags' modifier didn't do anything for non-'line' templates.

Originally committed to SVN as r1525.
This commit is contained in:
Niels Martin Hansen 2007-08-22 07:18:42 +00:00
parent 8fa7e1103e
commit 154e2840fb
1 changed files with 3 additions and 1 deletions

View File

@ -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"