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
1 changed files with 5 additions and 1 deletions

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