diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 4a4798495a..9d2b022014 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -4077,7 +4077,7 @@ $.fn.dropdown.settings.templates = { if( itemType === 'item' ) { var maybeText = (option[fields.text]) - ? 'data-text="' + option[fields.text] + '"' + ? ' data-text="' + String(option[fields.text]).replace(/"/g,"") + '"' : '', maybeDisabled = (option[fields.disabled]) ? className.disabled+' '