Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/BbCode/Renderer/BbCodeClean.php
<?php

namespace XF\BbCode\Renderer;

class
BbCodeClean extends AbstractRenderer
{
    public function
getCustomTagConfig(array $tag)
    {
        return [];
    }

    public function
renderTag(array $tag, array $options)
    {
        return
$tag['original'][0]
            .
$this->renderSubTree($tag['children'], $options)
            .
$tag['original'][1];
    }

    public function
renderString($string, array $options)
    {
        return
$string;
    }

    public static function
factory(\XF\App $app)
    {
        return new static();
    }
}