We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b4d1d commit 274191aCopy full SHA for 274191a
featherbb/Core/Parser.php
@@ -75,6 +75,13 @@ private function configureParser()
75
$configurator->BBCodes->addFromRepository('LEFT');
76
$configurator->BBCodes->addFromRepository('JUSTIFY');
77
78
+ // Alias COLOUR to COLOR
79
+ $configurator->BBCodes->add('COLOUR')->tagName = 'COLOR';
80
+
81
+ // Add some default limits
82
+ $configurator->tags['QUOTE']->nestingLimit = 3;
83
+ $configurator->tags['LIST']->nestingLimit = 5;
84
85
$configurator->registeredVars['cacheDir'] = ForumEnv::get('FORUM_CACHE_DIR');
86
87
// Get an instance of the parser and the renderer
0 commit comments