From 758d73748d6e559aa6c2f687a53dee8455b985d1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 26 Jan 2012 13:06:06 +0300 Subject: [PATCH] fix crash with ActivityNotFound exception when opening urls prefixed by spaces --- src/org/fox/ttrss/ArticleFragment.java | 2 +- src/org/fox/ttrss/OfflineArticleFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index 10a3930d..d65a4216 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -86,7 +86,7 @@ public class ArticleFragment extends Fragment { titleStr = m_article.title; title.setMovementMethod(LinkMovementMethod.getInstance()); - title.setText(Html.fromHtml("" + titleStr + "")); + title.setText(Html.fromHtml("" + titleStr + "")); } WebView web = (WebView)view.findViewById(R.id.content); diff --git a/src/org/fox/ttrss/OfflineArticleFragment.java b/src/org/fox/ttrss/OfflineArticleFragment.java index ef4dffdc..34efb717 100644 --- a/src/org/fox/ttrss/OfflineArticleFragment.java +++ b/src/org/fox/ttrss/OfflineArticleFragment.java @@ -91,7 +91,7 @@ public class OfflineArticleFragment extends Fragment { titleStr = m_cursor.getString(m_cursor.getColumnIndex("title")); title.setMovementMethod(LinkMovementMethod.getInstance()); - title.setText(Html.fromHtml("" + titleStr + "")); + title.setText(Html.fromHtml("" + titleStr + "")); } WebView web = (WebView)view.findViewById(R.id.content);