From 01e15e2a7f55c72fc71d2861917aa31ee7ef67e8 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 7 Feb 2012 00:45:32 +1100 Subject: [PATCH] minify_html with web editor --- mod.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod.php b/mod.php index 00f826d0..3d189323 100644 --- a/mod.php +++ b/mod.php @@ -1855,6 +1855,8 @@ header('Location: ?/config' . $b['uri'], true, $config['redirect_http']); exit; } else { + if($config['minify_html']) + $config_append = str_replace("\n", ' ', $config_append); $page = Array(); $page['title'] = 'Cannot write to file!'; $page['config'] = $config;