Browse files

Ensure that there always is a title

  • Loading branch information...
1 parent 369c6c0 commit c8d3ac27c0d66bb20fb77f9ef958ce9ce3ab7cc0 @rubys committed Jun 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 filters/mememe.plugin
View
1 filters/mememe.plugin
@@ -410,6 +410,7 @@ for i in range(0,len(weighted_links)):
# otherwise, parse the html
if not title:
title = html(revmap.get(link,link)).title
+ if not title: title = link.strip('/').split('/')[-1]
# dehtmlize
title = re.sub('&(\w+);',

0 comments on commit c8d3ac2

Please sign in to comment.