1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Added an id to local theme stylesheets.

This commit is contained in:
Cameron
2017-01-25 11:04:14 -08:00
parent d776d116dc
commit 988519a0f8
2 changed files with 15 additions and 1 deletions

View File

@@ -4319,6 +4319,7 @@ class eHelper
public static function secureIdAttr($string)
{
$string = str_replace(array('/','_'),'-',$string);
return preg_replace(self::$_idRegEx, '', $string);
}