mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 00:43:39 +08:00
d7fcd8a9e5
* fix(bbcode): highlight.js does not work after changing post content Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore(bbcode): organize bbcode code Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI --------- Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> Co-authored-by: StyleCI Bot <bot@styleci.io>
21 lines
377 B
PHP
21 lines
377 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Flarum\BBCode;
|
|
|
|
use Flarum\Extend;
|
|
|
|
return [
|
|
new Extend\Locales(__DIR__.'/locale'),
|
|
|
|
(new Extend\Formatter)
|
|
->render(Render::class)
|
|
->configure(Configure::class),
|
|
];
|