mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Also remove unnecessary tags from board header and footer scripts
This commit is contained in:
parent
b521c07721
commit
6df47d6994
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ class BoardAdminController extends Board {
|
|||
$args->browser_title = trim(utf8_normalize_spaces($args->browser_title));
|
||||
$args->meta_keywords = $args->meta_keywords ? implode(', ', array_map('trim', explode(',', $args->meta_keywords))) : '';
|
||||
$args->meta_description = trim(utf8_normalize_spaces($args->meta_description));
|
||||
$args->header_text = Rhymix\Modules\Admin\Models\Utility::cleanHeaderAndFooterScripts($args->header_text ?? '');
|
||||
$args->footer_text = Rhymix\Modules\Admin\Models\Utility::cleanHeaderAndFooterScripts($args->footer_text ?? '');
|
||||
|
||||
// if there is an existed module
|
||||
if ($args->module_srl && $module_info->module_srl != $args->module_srl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue