Bugfix: Anonymous line templates that did not have any additional template modifiers were treated as named line templates whose name was the empty string, causing such templates to be chained as one long line template.
Originally committed to SVN as r1595.
This commit is contained in:
parent
4bb88670bb
commit
c9e26c0cf3
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ function parse_template(meta, styles, line, templates, mods)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if id == "" then
|
||||||
|
id = nil
|
||||||
|
end
|
||||||
if id then
|
if id then
|
||||||
rest = t
|
rest = t
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue