tumblr: convert commentary to dtext.

* Convert Tumblr commentary to DText.
* Strip extraneous whitespace in links and blockquotes.
* Add newlines after block elements to ensure they're separated from
  subsequent blocks.
This commit is contained in:
evazion
2017-07-01 11:15:48 -05:00
parent b880b07387
commit 71f84b10af
4 changed files with 32 additions and 12 deletions
+4
View File
@@ -53,6 +53,10 @@ module Sources::Strategies
end
end
def dtext_artist_commentary_desc
DText.from_html(artist_commentary_desc).strip
end
def image_url
image_urls.first
end