More sensible operation for empty "line" templates.
Originally committed to SVN as r1242.
This commit is contained in:
parent
d84d930c87
commit
520f380fbc
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue