Author: boydb
Description:
When creating an inline query with SMW, if using the "format" of "ul" or "ol", with "columns" set to a number higher than "1", the HTML code breaks. For example:
{{#ask:[[Class::MyClass]]
|format=ul |columns=3
}}
Produces lists that look like:
<ul><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div>
</ul><br style="clear: both" />
As you can see, the closing "</li>" tags are not interpreted as a proper ending of a list element, which may be because the "<ul>" tags are outside the "<div>" tags breaking up the list.
Version: unspecified
Severity: minor