BBCodeParser code tags should be converted to pre tags

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41415 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jeremy Shipman 2007-09-06 23:44:14 +00:00
parent 51c1e7ffec
commit 0bf12a22d1

View File

@ -60,8 +60,8 @@ class HTML_BBCodeParser_Filter_Extended extends HTML_BBCodeParser_Filter
'htmlclose' => 'q',
'allowed' => 'all',
'attributes'=> array('quote' =>'cite=%2$s%1$s%2$s')),
'code' => array('htmlopen' => 'code',
'htmlclose' => 'code',
'code' => array('htmlopen' => 'pre',
'htmlclose' => 'pre',
'allowed' => 'all',
'attributes'=> array()),
'h1' => array('htmlopen' => 'h1',