Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jaystarkey Friend
    #167148

    I am using tabs to display user submitted content, and one user submitted something with square brackets contained within [ ]. This caused the content that should have been displayed to disappear.

    1) How can I fix this problem, and 2) are there other special characters that could potentially break this plugin?

    jaystarkey Friend
    #404997

    Bump.

    I temporarily fixed this by using:
    $text = preg_replace(“/[/”, ‘[‘, $text);
    $text = preg_replace(“/]/”, ‘]’, $text);

    But I want to make sure other characters won’t break things — I’d like an admin response.

    Ninja Lead Moderator
    #406293

    Hi,

    Can you please detail your issue as well as your solution?
    – In which page did you use ja tab? (a screenshot is helpful)
    – How can I log in to check?
    – In which file did you apply the hack?

    jaystarkey Friend
    #407054

    Hi, I didn’t hack anything; I just stripped brackets out of my content using the above. Screenshot won’t be useful because the div that should contain my tabs is empty when content contains a bracket. Go ahead and try it on your demo page.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  jaystarkey 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum