summaryrefslogtreecommitdiffstats
path: root/site/common
diff options
context:
space:
mode:
Diffstat (limited to 'site/common')
-rw-r--r--site/common/functions.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/site/common/functions.php b/site/common/functions.php
index e0cda47..9f01772 100644
--- a/site/common/functions.php
+++ b/site/common/functions.php
@@ -21,16 +21,17 @@
/* Minified HTML output (note: needs work for <pre> tags) */
function miniHtml($strHtml) {
- return $strHtml = preg_replace(
+ return $strHtml;
+ /* return $strHtml = preg_replace(
array("/\r|\n/", "/(\s)+/s", "/\>[^\S ]+/s", "/[^\S ]+\</s"),
array("", "\\1", ">", "<"),
$strHtml
- );
+ ); */
}
/* Minified CSS output */
function miniCss($strCss) {
- return preg_replace("/\r|\n/", "", $strCss);
+ return $strCss; // preg_replace("/\r|\n/", "", $strCss);
}
/* Generic function for showing a list of URLs */