2725 - Ticket markup ignored and broken

See for example
which contained a code block.

Choosing "BBCode" as the markup and using [code]...[/code] tags failed, because the tags were changed into "**code**", which then didn't get parsed as valid BBCode.  Why it's trying to rewrite that, I don't know.

Choosing "WikiCreole" as the markup type, and then using the tags produced by clicking the little gear wheel (something like <<code lua>> iirc) got the tags rewritten AND ignored again.

This works fine on the wowace tickets.  What is so different about curseforge?

User When Change
Torhal Jul 24, 2013 at 19:43 UTC Changed status from Accepted to Declined
Torhal Nov 09, 2011 at 17:44 UTC Changed status from New to Accepted
Torhal Jun 03, 2011 at 17:03 UTC Changed assigned to from Kaelten to prencher
Farmbuyer Feb 09, 2011 at 05:35 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Brettflan Brettflan Oct 07, 2011 at 10:27 UTC - 0 likes

    I should also mention that a somewhat crappy workaround is available: use Markdown as your Markup type.

    Of course it would be better if WikiCreole weren't broken in this way forcing the use of Markdown for most code examples, but there you have it.

    EDIT: hope you guys don't mind, but I went ahead created another ticket for this problem with the appropriate "mark-up" Component selected and a better title and descriptive post:

    Last edited Oct 15, 2011 by Brettflan: adding link to related ticket
  • Avatar of Brettflan Brettflan Oct 07, 2011 at 05:01 UTC - 0 likes

    The code block handling seems to be very fragile, apparently no matter which markup you choose. For example, this is a very simple and basic code block which fails to parse correctly in WikiCreole, as you can see:

    <<code>># Testing blah blah

    1. More testing<</code>>

    Each line of code above starts with a "#", commonly used in many scripting languages to denote a comment line, and yet WikiCreole ignores the code block and parses the contents. Yet if you remove the "#" from each line, it parses fine. The same block as above with those removed:

     Testing blah blah
     More testing

    It even breaks when you simply have a blank line in the code block, like so:



    Here's the same code block without the extra blank line, which works fine:


    Takeaway: the code block handling for WikiCreole is essentially broken.

  • Avatar of Invinciblor Invinciblor Feb 13, 2011 at 08:07 UTC - 0 likes

    I can't offer an explanation, but this bit of info may help:


    Note: Our BBCode implementation is a thin wrapper around WikiCreole. The BBCode tags are converted to WikiCreole, and then that parser is used.



Last updated
Jul 24, 2013
Feb 09, 2011
Declined - We decided not to take action on this ticket.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees