Email
Share

We Rock Your Web Forum » Content Management Systems

bbPress code tag doesn't work?

(4 posts)
  1. forumator

    member
    Joined: Nov '09
    Posts: 14

    I'm trying to use the "code" tag in bbPress to surround code snippets with the [code] tags, but it always seems to break - ie. half the code will be coded with the tags, and given the style that I've set in my style sheet. However, the rest of it will appear as regular text. Any idea how to fix the bbPress code tag and get it to work as intended?

    Posted 2 years ago #

  2. Posted 2 years ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    It appears that if you leave a blank line between code that is within two [code] tags, it will break. Try removing all your blank lines and see if that solves the problem.

    Posted 2 years ago #
  4. forumator

    member
    Joined: Nov '09
    Posts: 14

    That worked - thanks CWD!

    Posted 2 years ago #
  5. Anonymous



    test

    Posted 1 month ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.