mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Simple task: spanned by value
This commit is contained in:
@@ -78,10 +78,6 @@ public class HtmlEx {
|
||||
* @return string containing input converted to HTML
|
||||
*/
|
||||
public /* static */ String toHtml(Spanned text, int option) {
|
||||
if (!Helper.isUiThread()) {
|
||||
text = new SpannableStringBuilderEx(text);
|
||||
BaseInputConnection.removeComposingSpans((Spannable) text);
|
||||
}
|
||||
StringBuilder out = new StringBuilder();
|
||||
withinHtml(out, text, option);
|
||||
return out.toString();
|
||||
|
||||
Reference in New Issue
Block a user