|
@@ -2563,7 +2563,7 @@ define('select2/data/select',[
|
|
if ($option.is('option')) {
|
|
if ($option.is('option')) {
|
|
data = {
|
|
data = {
|
|
id: $option.val(),
|
|
id: $option.val(),
|
|
- text: $option.html(),
|
|
|
|
|
|
+ text: $option.text(),
|
|
disabled: $option.prop('disabled'),
|
|
disabled: $option.prop('disabled'),
|
|
selected: $option.prop('selected'),
|
|
selected: $option.prop('selected'),
|
|
title: $option.prop('title')
|
|
title: $option.prop('title')
|