From 2b03c1accb02d540087485a318be700b7e671fee Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 27 May 2015 16:52:21 -0400 Subject: site/functions.php: fix incorrect line breaks in html --- (limited to 'site/functions.php') 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
 tags) */
 	function miniHtml($strHtml) {
 		return $strHtml = preg_replace(
-			array('/(\s)+/s', '/\>[^\S ]+/s', '/[^\S ]+\', '<'), 
+			array("/\r|\n/", "/(\s)+/s", "/\>[^\S ]+/s", "/[^\S ]+\", "<"),
 			$strHtml
 		);
 	}
--
cgit v0.9.1