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