More sensible operation for empty "line" templates.

Originally committed to SVN as r1242.
This commit is contained in:
Niels Martin Hansen 2007-06-17 23:52:35 +00:00
parent d84d930c87
commit 520f380fbc

View file

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