ZF-9473: parsing of incorrect tags
Description
$bbcode = Zend_Markup::factory('Bbcode');
$input = <<render($input);
/*string(135) "heading
[list]
[*] 1[newline�] [*] 2[newline�] [*] 3[newline�][/list]
bold in bold
"*/
This is incorrect markup, I know =). But is it possible render it more correctly as now? h1 - inline tag, list - list: so close any inline tag when block/list found.
And can we replace double "strong" with single?
Comments
Posted by Konstantin.Myakshin (koc) on 2010-03-18T15:15:48.000+0000
1) I think that need add groups (inline, block) as stroppers inside parser/bbcode $_tags var.
2) And add options 'allowNesting' for tags