Merge branch 'master' of github.com:reality/depressionbot

This commit is contained in:
Luke Slater 2011-11-10 13:15:05 +00:00
commit 9e3bbb31c9

View File

@ -2,6 +2,10 @@ div#quotelist
-each quote in quotes -each quote in quotes
-if(quote.match(locals.url_regex)) -if(quote.match(locals.url_regex))
div.quote div.quote
a(href=quote)=quote a(href=quote)
-if(quote.match(/(jpg|png|gif|jpeg|tiff)$/))
img(src=quote)
-else
=quote
-else -else
div.quote #{quote} div.quote #{quote}