mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
51c1e7ffec
commit
0bf12a22d1
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user