Commit 2c528b2a authored by ISHIKAWA Mutsumi's avatar ISHIKAWA Mutsumi

fix escape problem

parent 26e4348e
......@@ -94,7 +94,7 @@
else {
var selected = '';
options.each(function() {
var label = ($(this).attr('label') !== undefined) ? $(this).attr('label') : $(this).text();
var label = ($(this).attr('label') !== undefined) ? $(this).attr('label') : $(this).html();
selected += label + ', ';
});
......@@ -133,7 +133,7 @@
}
// Support the label attribute on options.
var label = $(element).attr('label') || $(element).text();
var label = $(element).attr('label') || $(element).html();
var value = $(element).val();
var inputType = this.options.multiple ? "checkbox" : "radio";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment