maxwells/bootstrap-tags — pull request #52 by mwakerman (2014-12-02 14:22:40+00:00)
Title: Issue #51 - click removal of tags failing when tag contains special html characters

#51
Fixed bug where tag removal via click failed when the tag contained special html characters such as '&'.

Explanation: When fetching the text from the tag to splice it from the array, the jquery `.html()` method is used which automatically converts special characters such as `&` to `&`. This makes the check-if-in-tags-array condition fail as the strings no longer match. Using the jquery .text() method prevents this conversion from happening.