[-] FO : trailing \t in minified html

This commit is contained in:
gRoussac
2013-11-26 18:41:02 +01:00
parent c5b6ec5c3c
commit 13b5762367
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class MediaCore
{
//set an alphabetical order for args
$html_content = preg_replace_callback(
'/(<[a-zA-Z0-9]+)((\s?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s?)*)>/',
'/(<[a-zA-Z0-9]+)((\s\t?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s\t?)*)>/',
array('Media', 'minifyHTMLpregCallback'),
$html_content,
Media::getBackTrackLimit());