From 58f7663decb7d490f74814f0fa352e54ee8d54e2 Mon Sep 17 00:00:00 2001 From: renwei Date: Fri, 9 Dec 2016 19:01:47 +0800 Subject: [PATCH 1/2] fix bug : the script cannot filter out the decoration tag. --- SourceCgit/SourceCgit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceCgit/SourceCgit.php b/SourceCgit/SourceCgit.php index 894510e69..c0987c6d5 100644 --- a/SourceCgit/SourceCgit.php +++ b/SourceCgit/SourceCgit.php @@ -279,7 +279,7 @@ public function commit_parents( $p_input ) { * @return string */ public function commit_message( $p_input ) { - preg_match( "#
(.*?)()#", $p_input, $t_matches); + preg_match( "#