diff options
author | scria1000 <91804886+scria1000@users.noreply.github.com> | 2021-11-10 22:21:18 +0000 |
---|---|---|
committer | scria1000 <91804886+scria1000@users.noreply.github.com> | 2021-11-10 22:21:18 +0000 |
commit | 2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332 (patch) | |
tree | 2ec57f1497c5f239ca99c8d5218841f80cd7f304 /app/src/main | |
parent | 24f5682bf800d1fcd71e65f827e619ea89d1bf0c (diff) | |
download | infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar.gz infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar.bz2 infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar.lz infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar.xz infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.tar.zst infinity-for-reddit-2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332.zip |
Fix markdown not rendering in some comments
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java index 2dad51f9..b9d6bfd0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsRecyclerViewAdapter.java @@ -180,7 +180,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi @Override public void afterSetText(@NonNull TextView textView) { - SpannableStringBuilder markdownStringBuilder = new SpannableStringBuilder(textView.getText().toString()); + SpannableStringBuilder markdownStringBuilder = new SpannableStringBuilder(textView.getText()); Pattern spoilerPattern = Pattern.compile(">![\\S\\s]+?!<"); Matcher matcher = spoilerPattern.matcher(markdownStringBuilder); int start = 0; |