Ready to get started?Download WordPress


Bug: code tag parsing (4 posts)

  1. ninjalabs
    Posted 9 years ago #

    HTML tags have been surrounded with }{ pairs so it doesn't parse it here.

    {code} tag parsing for the following results in incorrect code...


    Incorrect output...

    {code}{br /}
    a{br /}
    b{br /}
    c{br /}

    The first {br /} on the output should not exist as it makes styling {code} sections really hard.

    I assume this is part of texturize 2 (I'm using Wp1.5)

  2. ColdForged
    Posted 9 years ago #

    I've always put my first line of code immediately after the code tag and the last on the same line as the closing tag. That way those breaks don't exist. Is that not sufficient?

  3. ninjalabs
    Posted 9 years ago #

    The whole point is that this is markup. The relative position of the tag shouldn't affect things at all. In theory it is something that needs to be "worked around" by the user (never a good thing).

  4. James
    Happiness Engineer
    Posted 9 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.