1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

I hope the last typo fix on meta rendering

This commit is contained in:
secretr
2012-05-11 10:22:44 +00:00
parent a488943453
commit f92cd53c39

View File

@@ -3705,7 +3705,7 @@ class eResponse
$attrData .= '<meta';
foreach ($attr as $p => $v)
{
$attrData .= ' '.preg_replace('/[\w\-]/', '', $p).'="'.str_replace(array('"', '<'), '', $v).'"';
$attrData .= ' '.preg_replace('/[^\w\-]/', '', $p).'="'.str_replace(array('"', '<'), '', $v).'"';
}
$attrData .= ' />'."\n";
}