Skip to content

Commit

Permalink
feat(dropdown): always get original html for marking
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Dec 15, 2023
1 parent 3583eb0 commit 3ac924d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -960,11 +960,8 @@
;
$.each(results, function (index, result) {
var $result = $(result),
markedHTML = module.get.choiceText($result)
markedHTML = module.get.choiceText($result, true)
;
if (!settings.preserveHTML) {
markedHTML = module.escape.htmlEntities(markedHTML);
}
if (settings.ignoreDiacritics) {
markedHTML = markedHTML.normalize('NFD');
}
Expand Down

0 comments on commit 3ac924d

Please sign in to comment.