The excessive <li> wrapper coming from the template is automatically closed by the browser during the HTML parsing step, causing an empty <li> being visible in the rendered source (preceding the first breadcrumb). This causes a visual bug when not using the default Discourse stylesheet, because the extra LI element pushes the content to the right and sometimes also renders an extra black pixel.
8 lines
280 B
Handlebars
8 lines
280 B
Handlebars
{{category-drop category=firstCategory categories=parentCategories}}
|
|
|
|
{{#if childCategories}}
|
|
{{category-drop category=secondCategory parentCategory=firstCategory categories=childCategories subCategory="true" noSubcategories=noSubcategories}}
|
|
{{/if}}
|
|
|
|
<div class='clear'></div>
|