Fixed direct reply / Usenet signature

This commit is contained in:
M66B 2019-08-24 18:21:14 +02:00
parent f3b828a00c
commit 05b85e4cfc
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,8 @@ public class ServiceUI extends IntentService {
Bundle results = RemoteInput.getResultsFromIntent(intent); Bundle results = RemoteInput.getResultsFromIntent(intent);
String text = results.getString("text"); String text = results.getString("text");
if (text != null)
text = "<p>" + text.replaceAll("\\r?\\n", "<br>") + "</p>";
DB db = DB.getInstance(this); DB db = DB.getInstance(this);
try { try {