From e865dfc269bfe58337127c71bd303c6aae17060b Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Fri, 16 Sep 2011 13:46:29 -0700 Subject: [PATCH] fix a bug with emailing in posts going to tumblr --- app/models/services/tumblr.rb | 2 +- app/views/services/tumblr.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/services/tumblr.rb b/app/models/services/tumblr.rb index 08af6fa8c..8a8196747 100644 --- a/app/models/services/tumblr.rb +++ b/app/models/services/tumblr.rb @@ -38,7 +38,7 @@ class Services::Tumblr < Service post.photos.each do |photo| html += "
" end - html += auto_link(post.text) + html += auto_link(post.text, :link => :urls) end end diff --git a/app/views/services/tumblr.html.haml b/app/views/services/tumblr.html.haml index ae8a6a9d7..070e3f134 100644 --- a/app/views/services/tumblr.html.haml +++ b/app/views/services/tumblr.html.haml @@ -2,4 +2,4 @@ = image_tag(photo.url(:scaled_full)) %br %br -= auto_link(post.text) += auto_link(post.text, :link => :urls)