From a1ec92d36b83a4b4d805bb59210e7a21dcbd6bae Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 20 Sep 2017 08:33:36 +0000 Subject: [PATCH] config: manage correctely the spaces between the doccomments git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3954 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index c7490f4..dd6613d 100644 --- a/config.php +++ b/config.php @@ -302,7 +302,7 @@ class config if ($debug) echo "DOC_COMMENT : $text\n"; // Append the not completed lines $text = trim (substr ($text, 3, -2)); - $text = preg_replace ("/\n\s+\*?/", " ", $text); + $text = preg_replace ("/\n\s+\*?\s*/", " ", $text); $text = preg_replace ( "/(@(param|description|type|values|default|group|prefix))/", "\n\${1}", $text);