We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff9f9f commit 951b820Copy full SHA for 951b820
SourceCgit/SourceCgit.php
@@ -286,7 +286,11 @@ public function commit_parents( $p_input ) {
286
* @return string
287
*/
288
public function commit_message( $p_input ) {
289
- preg_match( "#<div class='commit-subject'>(.*?)(<a class=|</div>)#", $p_input, $t_matches);
+ preg_match(
290
+ "#<div class='commit-subject'>(.*?)(<span class='decoration'>|<a class=|</div>)#",
291
+ $p_input,
292
+ $t_matches
293
+ );
294
$t_message = trim( str_replace( '<br/>', PHP_EOL, $t_matches[1] ) );
295
296
# Strip ref links and signoff spans from commit message
0 commit comments