Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

escaped html-entities when initialized from existing ul (with e.g. & present) #106

Merged
merged 1 commit into from

2 participants

@toao

html-entities (e.g. &) within ul-elements were copied 1:1 by .html() during creation of new tag-labels

issue already noticed in #48, #64, #101

@toao toao fixed html-entities-bug for tag-labels
html-entities (e.g. &) within ul-elements were copied 1:1 by .html()
37667cd
@aehlke aehlke merged commit 5d63b8b into from
@aehlke
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 1, 2012
  1. @toao

    fixed html-entities-bug for tag-labels

    toao authored
    html-entities (e.g. &) within ul-elements were copied 1:1 by .html()
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/tag-it.js
View
2  js/tag-it.js
@@ -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();
}
});
Something went wrong with that request. Please try again.