diff --git a/config.php b/config.php index 5c80f3c..4a2071f 100644 --- a/config.php +++ b/config.php @@ -110,11 +110,10 @@ return [ "vc_empty_space" => function () { return ""; }, - "vc_raw_html" => function ($attr) { - $text = $attr["text"] ?? ""; + "vc_raw_html" => function ($attr, $content) { $raw = ""; - if (strlen($text) > 0) { - $raw = base64_decode($text); + if (strlen($content) > 0) { + $raw = base64_decode($content); } return $raw; },