|
|
@ -2781,14 +2781,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
|
|
|
|
|
|
|
if (description == null)
|
|
|
|
if (description == null)
|
|
|
|
tvCalendarDescription.setText(description);
|
|
|
|
tvCalendarDescription.setText(description);
|
|
|
|
else {
|
|
|
|
else
|
|
|
|
Document d = JsoupEx.parse(description);
|
|
|
|
try {
|
|
|
|
if (d.selectFirst("html") == null)
|
|
|
|
tvCalendarDescription.setText(HtmlHelper.fromHtml(description, context));
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.w(ex);
|
|
|
|
tvCalendarDescription.setText(description);
|
|
|
|
tvCalendarDescription.setText(description);
|
|
|
|
else
|
|
|
|
}
|
|
|
|
tvCalendarDescription.setText(
|
|
|
|
|
|
|
|
HtmlHelper.fromDocument(context, d, null, null));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
tvCalendarDescription.setVisibility(TextUtils.isEmpty(description) ? View.GONE : View.VISIBLE);
|
|
|
|
tvCalendarDescription.setVisibility(TextUtils.isEmpty(description) ? View.GONE : View.VISIBLE);
|
|
|
|
|
|
|
|
|
|
|
|
tvCalendarLocation.setText(location);
|
|
|
|
tvCalendarLocation.setText(location);
|
|
|
|