remove duplicate checking for embedded attachments
This commit is contained in:
parent
ac3dbd593a
commit
bb33e875db
@ -239,7 +239,7 @@ public class ArticleFragment extends Fragment {
|
|||||||
URL url = new URL(a.content_url.trim());
|
URL url = new URL(a.content_url.trim());
|
||||||
String strUrl = url.toString().trim();
|
String strUrl = url.toString().trim();
|
||||||
|
|
||||||
if (a.content_type.indexOf("image") != -1 && !articleContent.contains(strUrl)) {
|
if (a.content_type.indexOf("image") != -1 /* && !articleContent.contains(strUrl) */) {
|
||||||
content += "<p><img src=\"" + strUrl.replace("\"", "\\\"") + "\"></p>";
|
content += "<p><img src=\"" + strUrl.replace("\"", "\\\"") + "\"></p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user