diff --git a/SourceGitweb/SourceGitweb.php b/SourceGitweb/SourceGitweb.php index 548a80a..aec1595 100644 --- a/SourceGitweb/SourceGitweb.php +++ b/SourceGitweb/SourceGitweb.php @@ -259,6 +259,11 @@ $t_gitweb_data = substr( $t_input, $t_input_p1, $t_input_p2 - $t_input_p1 ); $t_input_p1 = strpos( $t_input, '' ); + + if ( false === $t_input_p1) { + $t_input_p1 = strpos( $t_input, '
' ); + } + $t_input_p2 = strpos( $t_input, '