From 9a1e8dc4b137fca07d23dcd9fa52de4717603212 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 2 Mar 2011 17:11:06 +0000 Subject: [PATCH] trim spaces at the start too --- contrib/blocks/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/blocks/main.php b/contrib/blocks/main.php index aa22e13b..c3525c63 100644 --- a/contrib/blocks/main.php +++ b/contrib/blocks/main.php @@ -43,6 +43,7 @@ class Blocks extends SimpleExtension { foreach($lines as $line) { if(strpos($line, ":")) { $parts = explode(":", $line, 2); + $parts[0] = trim($parts[0]); $parts[1] = trim($parts[1]); if($parts[0] == "Title") { $title = $parts[1];