bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Problem with bbcode-lite

(2 posts)
  • Started 3 months ago by csseur3
  • Latest reply from fel64
  • This topic is not resolved

Tags:

  1. csseur3
    Member

    Hey, i try to add my own bbcode with http://bbpress.org/plugins/topic/93

    In BBcode-lite.php, i do that:
    $simple = array('t' => 'h4','b' => 'strong', (etc)

    but in my page, the source say that:
    <p></p><h4>Quel statut?</h4>

    so, the normal code must be:
    <p><h4>Quel statut?</h4>
    </p>

    no?

    why the formatting is not correct?

    Bye

    Posted 3 months ago #
  2. h4 is a block element and as such it should not be enclosed in a <p> anyway.

    How are you adding the paragraph tags? That could be a source of trouble for your plugin.

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.