summaryrefslogtreecommitdiffstats
path: root/site/common/functions.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-01 18:25:57 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-01 18:25:57 (EST)
commit666cc92186f57e6377b2fc46a2ff411e3c87c22b (patch)
tree453915786c618839ce741891bbc1c0da6e470972 /site/common/functions.php
parent31342e38098615491e695510606676802a9ff63f (diff)
downloadlibreboot.org-666cc92186f57e6377b2fc46a2ff411e3c87c22b.zip
libreboot.org-666cc92186f57e6377b2fc46a2ff411e3c87c22b.tar.gz
libreboot.org-666cc92186f57e6377b2fc46a2ff411e3c87c22b.tar.bz2
remove minification on all pages
Diffstat (limited to 'site/common/functions.php')
-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 */