Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

& problem #101

Closed
juri100 opened this issue Sep 12, 2012 · 1 comment
Closed

& problem #101

juri100 opened this issue Sep 12, 2012 · 1 comment

Comments

@juri100
Copy link

juri100 commented Sep 12, 2012

i have a problem if in the existing tags list some of the

  • elements contains & or &

    for example if i have

    • test & test1
    • test & test2

    the tag name, and the hidden field value will be "test & test1" in the first case and "test & test2" in the second. If we type new tag as "test & test3" the tag title and hidden field value is the same "test & test3"

    here is my workaround of the problem if it will help you in some way:

    tagit.js line 316

    WAS
    var label = $(this.options.onTagClicked ? '<a class="tagit-label"></a>' : '<span class="tagit-label"></span>').text(value);

    CHANGED
    var label = $(this.options.onTagClicked ? '<a class="tagit-label"></a>' : '<span class="tagit-label"></span>').html(value);

  • @aehlke
    Copy link
    Owner

    aehlke commented Nov 23, 2012

    Fixed in #106

    @aehlke aehlke closed this as completed Nov 23, 2012
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants