diff options
Diffstat (limited to 'site/functions.php')
-rw-r--r-- | site/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/functions.php b/site/functions.php index b90a35e..e0cda47 100644 --- a/site/functions.php +++ b/site/functions.php @@ -22,8 +22,8 @@ /* Minified HTML output (note: needs work for <pre> tags) */ function miniHtml($strHtml) { return $strHtml = preg_replace( - array('/(\s)+/s', '/\>[^\S ]+/s', '/[^\S ]+\</s'), - array('\\1', '>', '<'), + array("/\r|\n/", "/(\s)+/s", "/\>[^\S ]+/s", "/[^\S ]+\</s"), + array("", "\\1", ">", "<"), $strHtml ); } |