Browse Source

Fixes #1051 where HTML chars hown in filter-control select

Removes HTML characters from appearing in SELECT dropdowns.
Troy Morehouse 10 years ago
parent
commit
66b97db4c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/filter-control/bootstrap-table-filter-control.js

+ 1 - 1
src/extensions/filter-control/bootstrap-table-filter-control.js

@@ -66,7 +66,7 @@
         if (existsOptionInSelectControl(selectControl, value)) {
             selectControl.append($("<option></option>")
                 .attr("value", value)
-                .text(text));
+                .text($('<div />').html(text).text()));
         }
     };