From 154e2840fbfc3d423fa265b168f155c223b8f53e Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 22 Aug 2007 07:18:42 +0000 Subject: [PATCH] 'keeptags' modifier didn't do anything for non-'line' templates. Originally committed to SVN as r1525. --- automation/autoload/kara-templater.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automation/autoload/kara-templater.lua b/automation/autoload/kara-templater.lua index 4035e305a..41edb5050 100644 --- a/automation/autoload/kara-templater.lua +++ b/automation/autoload/kara-templater.lua @@ -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"