From f9af447124647eaf9da80b6b64db0b41bed13e33 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 16 Feb 2012 20:03:18 +0300 Subject: [PATCH] fix urls with spaces crash in combined mode --- src/org/fox/ttrss/HeadlinesFragment.java | 2 +- src/org/fox/ttrss/OfflineHeadlinesFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index c93fd248..72006654 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -378,7 +378,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, if (tt != null) { if (m_combinedMode) { tt.setMovementMethod(LinkMovementMethod.getInstance()); - tt.setText(Html.fromHtml("" + article.title + "")); + tt.setText(Html.fromHtml("" + article.title + "")); } else { tt.setText(Html.fromHtml(article.title)); } diff --git a/src/org/fox/ttrss/OfflineHeadlinesFragment.java b/src/org/fox/ttrss/OfflineHeadlinesFragment.java index a614592d..d7721b0a 100644 --- a/src/org/fox/ttrss/OfflineHeadlinesFragment.java +++ b/src/org/fox/ttrss/OfflineHeadlinesFragment.java @@ -285,7 +285,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis if (tt != null) { if (m_combinedMode) { tt.setMovementMethod(LinkMovementMethod.getInstance()); - tt.setText(Html.fromHtml("" + + tt.setText(Html.fromHtml("" + article.getString(article.getColumnIndex("title")) + "")); } else { tt.setText(Html.fromHtml(article.getString(article.getColumnIndex("title"))));