commentaries: replace <img> tags with dtext links (#3586)

Replace <img> tags with dtext links, unless the <img> tag is already
inside an <a> tag.

Also strip Unicode spaces from DeviantArt commentaries.
This commit is contained in:
evazion
2018-03-30 21:39:49 -05:00
parent b185efbb5f
commit 80219a0ccf
3 changed files with 12 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ module Sources
* two
* three
Heart  
"Heart":[https://e.deviantart.net/emoticons/h/heart.gif]
EOS
assert_equal(desc, @site.dtext_artist_commentary_desc)