mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 19:32:15 +09:00
Allow safe HTML in admin menu editor
This commit is contained in:
parent
0f9b8cc3d6
commit
3b56c142bd
2 changed files with 2 additions and 3 deletions
|
|
@ -1987,7 +1987,7 @@ class menuAdminController extends menu
|
|||
}
|
||||
else
|
||||
{
|
||||
$name_arr_str .= sprintf('"%s"=>\'%s\',', $key, str_replace(array('\\','\''), array('\\\\','\\\''), strip_tags($val)));
|
||||
$name_arr_str .= sprintf('"%s"=>\'%s\',', $key, str_replace(array('\\','\''), array('\\\\','\\\''), Rhymix\Framework\Filters\HTMLFilter::clean($val, true)));
|
||||
}
|
||||
}
|
||||
$name_str = sprintf('$_menu_names[%d] = array(%s); %s', $node->menu_item_srl, $name_arr_str, $child_output['name']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue