Well-formed BBCodes (Todo)
Hi Alex,
still I don’t understand why it’s not possible to use BBCodes inside of [ inlinecode ] and/or [ code ].
As long as BBCodes are well-formed, it should be possible to translate them into valid XHTML…
Examples:
a b a
: --> 5 blanks are kept (intentionally)
a [b]b[/b] a
: --> bold not translated
aaaaaa
[ inlinecode ] is translated to
<code>foo</code>
whereas in [ code ] an enclosing paragraph is added to
<pre><code>foo</code></pre>
In all HTML-variants (including XHTML1.0 Strict) allowed inline elements for
<code></code>
are e.g., strong
, em
, sub
, sup
,…
--
Cheers,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)