1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Comparing BBCode-Modules</title>
</head>
<body>
<table border="1">
<tr>
<th>Module/Version</th>
<th><a href="http://search.cpan.org/dist/HTML-BBCode">HTML::BBCode 2.06</a></th>
<th><a href="http://search.cpan.org/dist/BBCode-Parser">BBCode::Parser 0.34</a></th>
<th><a href="http://search.cpan.org/dist/Parse-BBCode">Parse::BBCode 0.12</a></th>
<th><a href="http://search.cpan.org/dist/HTML-BBReverse">HTML::BBReverse 0.07</a></th>
<th><a href="http://search.cpan.org/dist/AUBBC">AUBBC 4.06</a></th>
<th></th>
</tr>
<tr>
<th>Unbalanced / incorrectly nested tags</th>
<td>Leaves tags unparsed</td>
<td>Closes open tags or dies<br>depending on tags</th>
<td>Leaves tags unparsed<br>or closes tags if wanted</th>
<td>Creates invalid HTML</th>
<td>Leaves tags unparsed /<br> Creates invalid HTML</th>
</tr>
<tr>
<th>Add own tags</th>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
<td>Some (2)</td>
</tr>
<tr>
<th>Unknown Tags</th>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
</tr>
<tr>
<th>Forbidden Tags</th>
<td>leaves unparsed</td>
<td>Dies</td>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
<td>leaves unparsed</td>
</tr>
<tr>
<th>Provides parsed tree</th>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<th>Block in Inline</th>
<td>Creates broken output (1)</td>
<td>Dies</td>
<td>leaves unparsed</td>
<td>Creates invalid HTML<br>depending on block tags</td>
<td>Creates invalid HTML</td>
</tr>
</table>
<ul>
<li>(1) The output from <tt>'[i] italic [code]code block[/code] [/i]'</tt>:<br>
<pre><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;</pre>
</li>
<li>(2) Not possible to build tags with unparsed content; must use the builtin [code] tag</li>
</ul>
</body>
</html>
|