mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG: open ticket 7678 fixing usable_tags to send an array to ArrayList
This commit is contained in:
parent
1a91431d39
commit
9e1f7421f5
@ -64,6 +64,7 @@ class BBCodeParser extends TextParser {
|
||||
|
||||
static function usable_tags() {
|
||||
return new ArrayList(
|
||||
array(
|
||||
new ArrayData(array(
|
||||
"Title" => _t('BBCodeParser.BOLD', 'Bold Text'),
|
||||
"Example" => '[b]<b>'._t('BBCodeParser.BOLDEXAMPLE', 'Bold').'</b>[/b]'
|
||||
@ -123,6 +124,7 @@ class BBCodeParser extends TextParser {
|
||||
"Description" => _t('BBCodeParser.LINKDESCRIPTION', 'Link to another website or URL'),
|
||||
"Example" => "[url=http://www.website.com/]Website[/url]"
|
||||
))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user