diff --git a/android/src/com/mapswithme/maps/bookmarks/Holders.java b/android/src/com/mapswithme/maps/bookmarks/Holders.java index 159e458ed9..c7e796ea4e 100644 --- a/android/src/com/mapswithme/maps/bookmarks/Holders.java +++ b/android/src/com/mapswithme/maps/bookmarks/Holders.java @@ -8,7 +8,9 @@ import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.PluralsRes; import android.support.v7.widget.RecyclerView; +import android.text.Html; import android.text.Layout; +import android.text.Spanned; import android.text.StaticLayout; import android.text.TextUtils; import android.view.View; @@ -461,7 +463,7 @@ public class Holders { int lineCount = calcLineCount(mDescText, category.getDescription()); mDescText.setMaxLines(lineCount); - mDescText.setText(category.getDescription()); + mDescText.setText(Html.fromHtml(category.getDescription())); v.setVisibility(View.GONE); } @@ -480,7 +482,9 @@ public class Holders String desc = TextUtils.isEmpty(category.getAnnotation()) ? category.getDescription() : category.getAnnotation(); - mDescText.setText(desc); + + Spanned spannedDesc = Html.fromHtml(desc); + mDescText.setText(spannedDesc); } }