Strip "[source: ]" text from package descriptions in html list

I evidently broke this recently.
This commit is contained in:
Steve Purcell 2013-04-26 08:38:45 +01:00
parent 24bd9c2cd8
commit 5f604ad394

View file

@ -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 =