fix mis-unescaping of comment and reply text

This commit is contained in:
dosiecki 2017-07-31 17:41:25 -07:00
parent f6a2d45162
commit 0db8b5b854

View file

@ -97,7 +97,7 @@ public class SetupCommentSectionTask extends AsyncTask<Void, Void, Void> {
View commentView = inflater.inflate(R.layout.include_comment, null);
TextView commentText = (TextView) commentView.findViewById(R.id.comment_text);
commentText.setText(UIUtils.fromHtml(comment.commentText));
commentText.setText(comment.commentText);
ImageView commentImage = (ImageView) commentView.findViewById(R.id.comment_user_image);
TextView commentSharedDate = (TextView) commentView.findViewById(R.id.comment_shareddate);
@ -162,7 +162,7 @@ public class SetupCommentSectionTask extends AsyncTask<Void, Void, Void> {
for (final Reply reply : replies) {
View replyView = inflater.inflate(R.layout.include_reply, null);
TextView replyText = (TextView) replyView.findViewById(R.id.reply_text);
replyText.setText(UIUtils.fromHtml(reply.text));
replyText.setText(reply.text);
ImageView replyImage = (ImageView) replyView.findViewById(R.id.reply_user_image);
final UserProfile replyUser = FeedUtils.dbHelper.getUserProfile(reply.userId);