From 520f380fbcd5b0c90e97f1f88be2a2605cf7fe84 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 17 Jun 2007 23:52:35 +0000 Subject: [PATCH] More sensible operation for empty "line" templates. Originally committed to SVN as r1242. --- automation/autoload/kara-templater.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/automation/autoload/kara-templater.lua b/automation/autoload/kara-templater.lua index a114f244c..e6a0fc82d 100644 --- a/automation/autoload/kara-templater.lua +++ b/automation/autoload/kara-templater.lua @@ -456,7 +456,11 @@ function apply_line(meta, styles, subs, line, templates, tenv) end else -- 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 newline.effect = "fx" subs.append(newline)