use of android.text.SpannedString in project MarkyMark-Android by M2Mobi.
the class TextDisplayItem method create.
@Override
public Spanned create(final InlineConverter<Spanned> pInlineConverter, final TextString pMarkDownString) {
final Spannable spannable = SpannableUtils.createSpannable(pInlineConverter, pMarkDownString);
final String result = StringEscapeUtils.unescapeHtml4(String.valueOf(spannable));
return new SpannedString(result);
}
Aggregations