Permalink
Browse files

Merge pull request #106 from toao/master

escaped html-entities when initialized from existing ul (with e.g. & present)
  • Loading branch information...
2 parents d64a794 + 37667cd commit 5d63b8b57d868db1c393a12846493b21b201b792 @aehlke committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/tag-it.js
View
@@ -140,7 +140,7 @@
// Add existing tags from the list, if any.
this.tagList.children('li').each(function() {
if (!$(this).hasClass('tagit-new')) {
- that.createTag($(this).html(), $(this).attr('class'));
+ that.createTag($(this).text(), $(this).attr('class'));
$(this).remove();
}
});

0 comments on commit 5d63b8b

Please sign in to comment.