From 5f604ad3948eec3474bef881e334eb3be970c68c Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Fri, 26 Apr 2013 08:38:45 +0100 Subject: [PATCH] Strip "[source: ]" text from package descriptions in html list I evidently broke this recently. --- html/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.html.erb b/html/index.html.erb index 1d8c9e54..09229c3d 100644 --- a/html/index.html.erb +++ b/html/index.html.erb @@ -17,7 +17,7 @@ package.recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{package.name}" package.source = recipe["fetcher"] if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[source:\s*(\w+)\]\s*/ - package.descr + package.descr = $1 end package.source_url =