From dc803976c19e244e438cd214bc425e029e3b0fbc Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 1 Mar 2017 15:59:31 +0000 Subject: [PATCH] data --- lib/php/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/page.php b/lib/php/page.php index 0d78ad43..fac991d8 100644 --- a/lib/php/page.php +++ b/lib/php/page.php @@ -207,7 +207,7 @@ class Page extends nb { # NB 28.11.16: Proper Markdown yould be great ! #if (!$is_html) return (preg_match('/^(span|a|inline|label|input|select)$/',strtolower($tag))?"":"\n").join("\n",(array)$content); // Markdonw to html - if (!$is_html) return join("\n",(array)$content); + if (!$is_html or !isset($_SERVER['SERVER_NAME'])) return join("\n",(array)$content); /* if (!$is_html) return join("\n",array_map(function($e) use($tag){ -- 2.47.3