Skip to content

Commit

Permalink
fix(search): 🐛 label can sometimes contain HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 authored May 22, 2024
1 parent d6bfce1 commit b946056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/skins.citizen.search/htmlHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function htmlHelper() {
item.querySelector( '.citizen-typeahead__title' ).innerHTML = data.title;
}
if ( data.label ) {
item.querySelector( '.citizen-typeahead__label' ).textContent = data.label;
item.querySelector( '.citizen-typeahead__label' ).innerHTML = data.label;
}
if ( data.desc ) {
item.querySelector( '.citizen-typeahead__description' ).textContent = data.desc;
Expand Down

0 comments on commit b946056

Please sign in to comment.