From 91539b8134f6bd967b5dc44f95345ef1686a2897 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 15 2016 12:13:57 +0000 Subject: Only split the line if the content we want to split is in it --- diff --git a/pagure/ui/filters.py b/pagure/ui/filters.py index 4f7efdb..1cb41b0 100644 --- a/pagure/ui/filters.py +++ b/pagure/ui/filters.py @@ -281,7 +281,7 @@ def blame_loc(loc, repo, username, blame): # Happens at the end of the file, since we are using idx + 1 continue - if line.startswith('' in line: line = line.split('
')[1]
 
         output.append(