1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed html Phrase problem for "follow, unfollow" in user profiles

Discussion in 'Resolved Bug Reports' started by Luke B, Oct 19, 2011.

  1. Luke B

    Luke B Active Member

    When adding html to the phrases "follow, unfollow", the markup is displaying after click. This happens with any kind of html. Upon reloading the page, it display's properly. Whats happening with this? Example below.

    profile1.jpg profile2.jpg
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What markup are you using in the phrases?

    ✔ is a heavy checkmark.
     
  3. Luke B

    Luke B Active Member

    ✘ Unfollow
    ✔ Follow

    It shows even if I do something simple like <b>X</b> Unfollow
    Am I applying the html incorrectly?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It looks like a bug so I'll move the thread.
     
    Luke B likes this.
  5. Luke B

    Luke B Active Member

    wow! I found a bug!? Any ideas on what the problem might be?
     
    kkm323 likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    We just didn't allow HTML there in the JS. I changed that so that it replaces the HTML instead of the text.
     
    Luke B likes this.
  7. Luke B

    Luke B Active Member

    Very good! So this will be included in the next update?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, 99.9% of the time fixes are always in the next release.
     
    Luke B likes this.
  9. Luke B

    Luke B Active Member

    That is wonderful. I redesigned the member card and it looks a bit funny when you follow, unfollow someone because the html pops up.
    Thank you for the help guys!
     
  10. Andy.N

    Andy.N Well-Known Member

    You really altered how XF looks on your site ;)
     
  11. Luke B

    Luke B Active Member

    I did yes. I'm a designer and I just can't stop changing things :)
     
  12. yavuz

    yavuz Well-Known Member

    I regularly check your site Luke, very impressive work you've done so far. Keep up! :)
     
    Luke B likes this.
  13. Luke B

    Luke B Active Member

    Thank you very much! Its been a fun process and I've learned a lot.
     

Share This Page