Info
- 2 posts
- 2 voices
- Started 3 years ago by csseur3
- Latest reply from fel64
- This topic is not resolved
Problem with bbcode-lite
-
- Posted 3 years ago #
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 years ago #
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.
-
You must log in to post.