CWD Forum » Content Management Systems

bbPress code tag doesn't work?

(3 posts)
  1. forumator

    member
    Joined: Nov '09
    Posts: 12

    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 7 months ago #
  2. Sponsored Links

    Posted 7 months ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 140

    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 7 months ago #
  4. forumator

    member
    Joined: Nov '09
    Posts: 12

    That worked - thanks CWD!

    Posted 7 months 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.

476 posts in 184 topics over 14 months by 49 of 93 members. Latest: mahmoud11, panvera, tigalea