BUG Ticket (closed)

BBcode should not be parsed in [code]

BBcode inside ```[code]``` (and ```[component]``` ```[controller]``` ```[helper]``` ```[model]``` ```[view]```) should not be parsed. Parsing can break Javascript arrays as shown in https://trac.cakephp.org/ticket/1663 Parsing breaks my Helper which contains ```[list]``` in ```[helper]```. {{{ [helper] var $tags = array( 'list' => "[list]\n%s[/list]\n", ); [/helper] }}} ##What happened: ####Helper Class: {{{ <?php var $tags = array( 'list' => " 1. \n%s \n", ); ?> }}} ##What was expected: ####Helper Class: {{{ <?php var $tags = array( 'list' => "[list]\n%s[/list]\n", ); ?> }}}
on 04.10.09 reported by: petteyg
on 04.16.09 by alkemann
- **status** was changed to _invalid_ This project on The Chaw is for the next generation of Bakery. Problems with the current live version does not belong here.
on 04.16.09 by petteyg
What is the purpose of a new version, if not to improve upon the old version? Since this is broken on the old version, it should be taken into account in the new version, so that the new version will not suffer from the same flaw.