From 7500b3faf67a3eb564ddfb7c377ef0ff38b441fd Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 13 May 2025 10:48:16 -0700 Subject: [PATCH] WIP --- config.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; },