From aed3eb378c0d74bea323e6c40f5895cd3e32420f Mon Sep 17 00:00:00 2001 From: Mitsuru Mutaguchi Date: Fri, 18 Jan 2019 10:51:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=A6=E3=82=A3=E3=82=B8=E3=82=A6?= =?UTF-8?q?=E3=82=A3=E3=82=B0=E3=81=A7marquee=E3=82=BF=E3=82=B0=E3=81=AE?= =?UTF-8?q?=E6=9B=B8=E3=81=8D=E8=BE=BC=E3=81=BF=E3=82=92=E8=A8=B1=E5=8F=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/NetCommons3/NetCommons3/issues/1427 --- View/Helper/WysiwygHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/View/Helper/WysiwygHelper.php b/View/Helper/WysiwygHelper.php index 2632787..863e4b7 100644 --- a/View/Helper/WysiwygHelper.php +++ b/View/Helper/WysiwygHelper.php @@ -134,8 +134,9 @@ public function wysiwygScript() { ); } // 許可するタグの設定 + $constants['extended_valid_elements'] = 'marquee'; if (Current::permission('html_not_limited')) { - $constants['extended_valid_elements'] = 'script[src|title|type]'; + $constants['extended_valid_elements'] = 'script[src|title|type],marquee'; $constants['valid_children'] = '+body[style]'; $constants['cleanup'] = false; }