XenForo
Administrative
- Thread starter
- Admin
- #1
I have the following PHP that works as intended with one line text but BBCodes and newlines inside it is parsed as HTML.
PHP:
Read more
ادامه مطلب...
PHP:
Code:
<?php
namespace custom_addons;
class box {
public static function box($tagChildren, $tagOption, $tag, array $options, \XF\BbCode\Renderer\AbstractRenderer $renderer)
{
$res = $renderer->renderSubTree($tagChildren, $options);
$toptions = trim(strip_tags($tag['option']));
$toptions =...
Read more
ادامه مطلب...