mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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() {
|
static function usable_tags() {
|
||||||
return new ArrayList(
|
return new ArrayList(
|
||||||
|
array(
|
||||||
new ArrayData(array(
|
new ArrayData(array(
|
||||||
"Title" => _t('BBCodeParser.BOLD', 'Bold Text'),
|
"Title" => _t('BBCodeParser.BOLD', 'Bold Text'),
|
||||||
"Example" => '[b]<b>'._t('BBCodeParser.BOLDEXAMPLE', 'Bold').'</b>[/b]'
|
"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'),
|
"Description" => _t('BBCodeParser.LINKDESCRIPTION', 'Link to another website or URL'),
|
||||||
"Example" => "[url=http://www.website.com/]Website[/url]"
|
"Example" => "[url=http://www.website.com/]Website[/url]"
|
||||||
))
|
))
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user