ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem with encoded quotes in wiki links

December 31, 2008 11:28am

Subscribe [2]
  • #1 / Dec 31, 2008 11:28am

    funkatron

    1 posts

    Since the upgrade to 1.6.6, I’m noticing an issue with my wiki links:

    Here’s a link markup:

    [[Development tasks]]

    In my wiki’s settings, if I set HTML Formatting for Articles to “Allow all HTML” or “Convert HTML Characters into entities”, this is what the wiki parser returns for the link’s HTML:

    <a href="http://funkatron.com/spaziki/Development-tasks/" title="Development-tasks">Development tasks</a>

    It kinda looks like the regex is beging to greedy, and encoding the inside two ” marks as %22.

    If I set the HTML Formatting for Articles to “Allow Only Safe HTML”, then the parser spits out the correct markup:

    <a href="http://funkatron.com/spaziki/Development-tasks/" title="Development-tasks">Development tasks</a>

    The setting for “Text Formatting for Articles” does not seem to be relevant to this problem.

    For now I’m keeping the setting at “Allow Only Safe HTML.”

    Edit: had to use the encoding for the % to get %22 to show up correctly in the post.

  • #2 / Dec 31, 2008 12:55pm

    Ingmar

    29245 posts

    See if this thread helps any.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases