Merge branch '569-convert-html-to-plain-text-safely-and-readably' into 'master'
Clean HTML from RSS feeds with Jsoup and Show Link Warning This adds HTML cleaning with the Jsoup library based on a whitelist. The resulting HTML is then used to create a `Spannable` in Android. This spannable is traversed and URLs are replaced by a custom dialog fragment that shows the following warning.  Closes #569 See merge request !311
Showing
- briar-android/res/layout/fragment_blog_post.xml 1 addition, 1 deletionbriar-android/res/layout/fragment_blog_post.xml
- briar-android/res/layout/fragment_link_dialog.xml 73 additions, 0 deletionsbriar-android/res/layout/fragment_link_dialog.xml
- briar-android/res/values/strings.xml 6 additions, 0 deletionsbriar-android/res/values/strings.xml
- briar-android/src/org/briarproject/android/blogs/BlogPostViewHolder.java 8 additions, 3 deletions...rc/org/briarproject/android/blogs/BlogPostViewHolder.java
- briar-android/src/org/briarproject/android/util/AndroidUtils.java 40 additions, 3 deletions...droid/src/org/briarproject/android/util/AndroidUtils.java
- briar-android/src/org/briarproject/android/util/ArticleMovementMethod.java 67 additions, 0 deletions.../org/briarproject/android/util/ArticleMovementMethod.java
- briar-android/src/org/briarproject/android/widget/LinkDialogFragment.java 88 additions, 0 deletions...c/org/briarproject/android/widget/LinkDialogFragment.java
- briar-core/build.gradle 2 additions, 0 deletionsbriar-core/build.gradle
- briar-core/src/org/briarproject/feed/FeedManagerImpl.java 25 additions, 20 deletionsbriar-core/src/org/briarproject/feed/FeedManagerImpl.java
- briar-core/src/org/briarproject/util/HtmlUtils.java 16 additions, 0 deletionsbriar-core/src/org/briarproject/util/HtmlUtils.java
- briar-core/src/org/briarproject/util/PrivacyUtils.java 0 additions, 1 deletionbriar-core/src/org/briarproject/util/PrivacyUtils.java
Loading
Please register or sign in to comment