I’ve developed a fix, but I can’t find contact information for the author. Posting it here in the hopes that they see it and apply it:
$process = $split[$i];
$asis = '';
}
-$process = preg_replace(array ('/\>[^\S ]+' . $mod, '/[^\S ]+\<' . $mod, '/(\s)+' . $mod), array('>', '<', '\\1'), $process);
+$process = preg_replace(array ('/\>([^\S ])+' . $mod, '/([^\S ])+\<' . $mod, '/(\s)+' . $mod), array('>\\1', '\\1<', '\\1'), $process);
if ( $minify_html_comments != 'no' )
$process = preg_replace('/<!--(?!\s*(?:\[if [^\]]+]|<!|>))(?:(?!-->).)*-->' . $mod, '', $process);
$buffer .= $process.$asis;
-
This reply was modified 5 years, 10 months ago by jugglinmike. Reason: correct code formatting
-
This reply was modified 5 years, 10 months ago by jugglinmike. Reason: Another attempt to correct formatting