From b9284b44d95106bf57dda9bb9a66e53b39c228d1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 15 Jan 2009 22:04:50 -0800 Subject: [PATCH] allow long tags to start on a new line --- ext/ext_manager/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ext_manager/main.php b/ext/ext_manager/main.php index b634ca41..49f75fa1 100644 --- a/ext/ext_manager/main.php +++ b/ext/ext_manager/main.php @@ -37,7 +37,7 @@ class ExtensionInfo { // {{{ else if(preg_match("/Author: (.*)/", $line, $matches)) { $this->author = $matches[1]; } - if(preg_match("/(.*)Description: (.*)/", $line, $matches)) { + if(preg_match("/(.*)Description: ?(.*)/", $line, $matches)) { $this->description = $matches[2]; $start = $matches[1]." "; $start_len = strlen($start); @@ -46,7 +46,7 @@ class ExtensionInfo { // {{{ $i++; } } - if(preg_match("/(.*)Documentation: (.*)/", $line, $matches)) { + if(preg_match("/(.*)Documentation: ?(.*)/", $line, $matches)) { $this->documentation = $matches[2]; $start = $matches[1]." "; $start_len = strlen($start);