-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Inside Parser/BBCodeParser.php there is:
protected $parsers = [
'h1' => [
'pattern' => '/\[h1\](.*?)\[\/h1\]/s',
'replace' => '<h1>$1</h1>',
'content' => '$1'
],
However, when I add my own parser for h1 using $bbCode->addParser it doesn't replace the hardcoded one, is there a way to get rid of it without changing the source code?
Metadata
Metadata
Assignees
Labels
No labels