While trying to get Chosen to work on a dropdown facet, I was seeing HTML inside of SELECT OPTION like:
<option value="/hearings?f[0]=hearing_bill_type_number%3AAB120">
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'facets_result_item' -->
<!-- BEGIN OUTPUT from 'modules/facets/templates/facets-result-item.html.twig' -->
<span class="facet-item__value">AB120</span>
<span class="facet-item__count">(3)</span>
<!-- END OUTPUT from 'modules/facets/templates/facets-result-item.html.twig' -->
</option>
This breaks Chosen's search features and is probably invalid markup for an <OPTION> tag
Comments
Comment #2
kducharm commentedComment #3
kducharm commentedComment #4
borisson_Comment #6
strykaizerThanks for reporting and patch!