bbcode
bbcode copied to clipboard
Nested bbcode tags
Do nested bbcode tags work? Like so:
[quote][quote]He said[/quote]she said[/quote]
Hello,
yes:
<blockquote><blockquote>He said</blockquote>she said</blockquote>
Plus:
[quote][b]He said[/b]she said
=>
<blockquote><strong>He said</strong>she said</blockquote>
Missing closing tags will be added. However, this is a simple approach that does not always create great results:
[quote][b]He said she said[/quote]
We would expect:
<blockquote><strong>He said she said</strong></blockquote>
But what we get is:
<blockquote><strong>He said she said</blockquote></strong>
Awesome! How about [quote date='needs-to-be-parsed']Something irrelevant[/quote]
I believe adding named attributes is not something that BBCode supports... So no, currently that is not possible.