feat: system tools and admin enhancements
This commit is contained in:
@@ -45,6 +45,17 @@ class BbcodeFormatter
|
||||
|
||||
$configurator->tags->add('BR')->template = '<br/>';
|
||||
|
||||
if (isset($configurator->tags['QUOTE'])) {
|
||||
$configurator->tags['QUOTE']->template = <<<'XSL'
|
||||
<blockquote>
|
||||
<xsl:if test="@author">
|
||||
<cite><xsl:value-of select="@author"/> wrote:</cite>
|
||||
</xsl:if>
|
||||
<div><xsl:apply-templates/></div>
|
||||
</blockquote>
|
||||
XSL;
|
||||
}
|
||||
|
||||
$bundle = $configurator->finalize();
|
||||
$parser = $bundle['parser'] ?? null;
|
||||
$renderer = $bundle['renderer'] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user