From e99f7ce7da9b1ee06d20a173f2307e84d8632c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Trouv=C3=A9?= Date: Fri, 5 May 2023 12:31:11 +0200 Subject: [PATCH] Fix #8 : Add missing array declaration --- filter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/filter.php b/filter.php index a65f8e5..f602609 100644 --- a/filter.php +++ b/filter.php @@ -108,6 +108,7 @@ protected function convert_urls_into_codepens(&$text) { // <a href="blah"> $filterignoretagsopen = [']+?>']; $filterignoretagsclose = ['']; + $ignoretags = []; filter_save_ignore_tags($text, $filterignoretagsopen, $filterignoretagsclose, $ignoretags); static $unicoderegexp;