kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
56a8451d07
commit
9d9e6e2972
|
@ -1,9 +1,11 @@
|
|||
package org.thoughtcrime.securesms.util;
|
||||
|
||||
import android.text.Html;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
public class HtmlUtil {
|
||||
public static @NonNull String bold(@NonNull String target) {
|
||||
return "<b>" + target + "</b>";
|
||||
return "<b>" + Html.escapeHtml(target) + "</b>";
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue