[eluser]Crimp[/eluser]
Use of the </p><p> for pre-defined block-level elements with tags.
Example to generate headings in flowing text:
Code:
<strong>Hole</strong>
You may find yourself in the hole doing this.
Output heading:
Code:
</p><strong>Hole</strong><p>
The "ol" in Hole makes it an ordered list.
Code:
// Block level elements that should not be wrapped inside <p> tags
var $block_elements = 'div|blockquote|pre|code|h\d|script|ol|un';