Skip to content

Commit

Permalink
Update WysiwygHelper.php
Browse files Browse the repository at this point in the history
feat: 許可するタグの設定の時、<style>タグも許可する
  • Loading branch information
akagane99 committed Dec 19, 2018
1 parent a03ba27 commit a9beec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions View/Helper/WysiwygHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public function wysiwygScript() {
// 許可するタグの設定
if (Current::permission('html_not_limited')) {
$constants['extended_valid_elements'] = 'script[src|title|type]';
$constants['valid_children'] = '+body[style]';
$constants['cleanup'] = false;
}
//デバッグ情報
Expand Down

0 comments on commit a9beec6

Please sign in to comment.