Skip to content

Commit 16eb042

Browse files
committed
Working alias
1 parent 274191a commit 16eb042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featherbb/Core/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function configureParser()
7676
$configurator->BBCodes->addFromRepository('JUSTIFY');
7777

7878
// Alias COLOUR to COLOR
79-
$configurator->BBCodes->add('COLOUR')->tagName = 'COLOR';
79+
$configurator->BBCodes->add('COLOUR', ['defaultAttribute' => 'color'])->tagName = 'COLOR';
8080

8181
// Add some default limits
8282
$configurator->tags['QUOTE']->nestingLimit = 3;

0 commit comments

Comments
 (0)