mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 05:31:58 +02:00
Allow non-latin meta content
This commit is contained in:
parent
672af0df15
commit
7ab682d4fa
@ -3949,7 +3949,7 @@ class eResponse
|
||||
$attrData .= '<meta';
|
||||
foreach ($attr as $p => $v)
|
||||
{
|
||||
$attrData .= ' '.preg_replace('/[^\w\-]/', '', $p).'="'.str_replace(array('"', '<'), '', $v).'"';
|
||||
$attrData .= ' '.preg_replace('/[^\w\pL\-]/u', '', $p).'="'.str_replace(array('"', '<'), '', $v).'"';
|
||||
}
|
||||
$attrData .= ' />'."\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user