Skip to content

Commit

Permalink
valid HTML for search refinements (bug 588159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Aug 19, 2010
1 parent e7ae6e5 commit 43c2e5e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/search/templates/search/includes/refinement.html
Expand Up @@ -2,11 +2,13 @@
<a href="{{ item.url }}">{{ item.text }}</a>
</li>
{% if item.children %}
<ul>
{% for child in item.children %}
<li{% if child.selected %} class="selected"{% endif %}>
<a href="{{ child.url }}">{{ child.text }}</a>
<li>
<ul>
{% for child in item.children %}
<li{% if child.selected %} class="selected"{% endif %}>
<a href="{{ child.url }}">{{ child.text }}</a>
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
{% endif %}

0 comments on commit 43c2e5e

Please sign in to comment.