HTML produced by calendar template is not correct
-------------------------------------------------
Key: MGNLSTK-686
URL: http://jira.magnolia-cms.com/browse/MGNLSTK-686
Project: Magnolia Standard Templating Kit
Issue Type: Bug
Components: paragraphs
Affects Versions: 1.3.5
Reporter: Jan Haderka
Assignee: Philipp Bärfuss
{{<a/>}} or {{<td/>}} tags are not closed properly, depending on the conditions.
{{noformat}}
<tr>
<th class="cw">${model.getCalendarItem(x, 1).week}</th>
[#list 1 .. 7 as y]
[#assign item = model.getCalendarItem(x, y)]
<td ${mgnl.createAttribute("class", item.cssClass)}>
[#if item.visible]
[#if item.link??]
<a href="${item.link}">${item.day}</td>
[#else]
${item.day}
[/#if]
[/#if]
[/#list]
</tr>
{{/noformat}}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------