Author: eisbaer04
Description:
If you include a template using {{templatename}}, open HTML-Tags are closed
automatically.
I have 2 templates, the first opens the tag, the second should close them, but
the tags are already closed directly after first included.
REPRODUCE:
Step1: create 2 templates
template1: "setlist_start", content is: "<div style='...'><div style='...'>" template2: "setlist_end", content is: "</div></div>"
Step2: create a (new) wiki-page with content:
{{setlist_start}}
This should be inside the divs!
{{setlist_end}}
RESULT:
the tags of the start-template are closed directly, so the div are not around
the content.
<div style='...'><div style='...'></div>
</div>
This should be inside the divs!<p></div>
</div>
</p>
EXPECTED:
the tags are not automatically closed!
<div style='...'><div style='...'>
This should be inside the divs!
</div></div>
Maybe this can be solved by including another tag to the template like the
"<noinclude>" tag, e.g. "<leavetagsopen>" or sth.
Version: 1.9.x
Severity: normal
URL: http://www.simo-wiki.de