title: Select2 searches inside the html of the formatted options
body: <p>I am using the <a href="http://ivaynberg.github.io/select2/" rel="nofollow">select2 widget</a>, and I need to display the search results formatted as html.</p>
  
  <p>So I am using it like this:</p>
  
  <pre><code>  function formatMyItem(myItem) {
       return defaultEscapeMarkup(myItem.someDescription) + " &lt;strong&gt;(" + myItem.someOtherValue + ")&lt;/strong&gt;";
    }
  
    function defaultEscapeMarkup(markup) {
       var replace_map = {
          '\\': '&amp;#92;',
          '&amp;': '&amp;amp;',
          '&lt;': '&amp;lt;',
          '&gt;': '&amp;gt;',
          '"': '&amp;quot;',
          "'": '&amp;#39;',
          "/": '&amp;#47;'
       };
  
       return String(markup).replace(/[&amp;&lt;&gt;"'\/\\]/g, function (match) {
          return replace_map[match];
       });
    }
  
    var suggestionValues = [];
    for (var i = 0; i &lt; myData.length; i++) {
       var myItem = myData[i];
       suggestionValues.push({
          id: myItem.someKey,
          text: formatMyItem(myItem)
       });
    }
  
    $mySelect.select2({
       width: 'resolve',
       multiple: true,
       data: suggestionValues,
       escapeMarkup: function(m) {
          // Do not escape HTML in the select options text
          return m;
       }
    });
  </code></pre>
  
  <p>But now when the user searches for something, that term is searched inside the HTML of the option.</p>
  
  <p>For example, if the user searches for "strong" (assumming that some descriptions can contain the word "strong"), then select2 will suggest all the values (because all of them contain "strong").</p>
  
  <p>Also, when the user searches for "&lt;" (assuming that some descriptions contain mathematical symbols), then select2 will return all values (because all of them contain html tags), but will not highlight the actual "less than" symbol in the descriptions, because they have been actually converted to "&amp; lt;".</p>
  
  <p>How can I make select2 not search inside the html tags?</p>