From 867ccb19b47744df4f001a196ceea5f0b095a6f1 Mon Sep 17 00:00:00 2001 From: Liangent Date: Thu, 23 May 2013 05:21:19 +0000 Subject: [PATCH] Gadget-definitions: Make comment matching non-greedy Change-Id: I1b92e4d84d11ff7493a2ec684815d19f0937caa7 --- Gadgets_body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gadgets_body.php b/Gadgets_body.php index c41fa7da..e787062a 100644 --- a/Gadgets_body.php +++ b/Gadgets_body.php @@ -595,7 +595,7 @@ class Gadget { $g = $forceNewText; } - $g = preg_replace( '//s', '', $g ); + $g = preg_replace( '//s', '', $g ); $g = preg_split( '/(\r\n|\r|\n)+/', $g ); $gadgets = array();