Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with bbcode-lite


  • csseur3
    Member

    @csseur3

    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

Viewing 1 replies (of 1 total)

  • fel64
    Member

    @fel64

    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.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.