Comparing BBCode-Modules

Module/Version | HTML::BBCode 2.06 | BBCode::Parser 0.34 | Parse::BBCode 0.12 | HTML::BBReverse 0.07 | AUBBC 4.06 |
--- | --- | --- | --- | --- | --- | ---
Unbalanced / incorrectly nested tags | Leaves tags unparsed | Closes open tags or dies depending on tags | Leaves tags unparsed or closes tags if wanted | Creates invalid HTML | Leaves tags unparsed / Creates invalid HTML
Add own tags | No | Yes | Yes | No | Some (2)
Unknown Tags | leaves unparsed | leaves unparsed | leaves unparsed | leaves unparsed | leaves unparsed
Forbidden Tags | leaves unparsed | Dies | leaves unparsed | leaves unparsed | leaves unparsed
Provides parsed tree | No | Yes | Yes | No | No
Block in Inline | Creates broken output (1) | Dies | leaves unparsed | Creates invalid HTML depending on block tags | Creates invalid HTML

- (1) The output from `'[i] italic [code]code block[/code] [/i]'`:

      <span style="font-style:italic"> italic  </span><div class="bbcode_code_header">Code:</div><div class="bbcode_code_body">code&nbsp;block</div>  &lt;/span&gt;

- (2) Not possible to build tags with unparsed content; must use the builtin [code] tag