You're a godsend, it worked.
Although when I tried it with a custom table and it did not, {$res} is throw above of the actual template.
<?php
namespace custom_addons;
class table2 {
public static function table2($tagChildren, $tagOption, $tag, array $options...
I have the following PHP that works as intended with one line text but BBCodes and newlines inside it is parsed as HTML.
<?php
namespace custom_addons;
class box {
public static function box($tagChildren, $tagOption, $tag, array $options, \XF\BbCode\Renderer\AbstractRenderer...