mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Wrap preview block quotes in square brackets
This commit is contained in:
@@ -1149,6 +1149,11 @@ public class HtmlHelper {
|
||||
private static String _getText(Document d, boolean full) {
|
||||
truncate(d, !full);
|
||||
|
||||
for (Element bq : d.select("blockquote")) {
|
||||
bq.prependChild(new TextNode("["));
|
||||
bq.appendChild(new TextNode("]"));
|
||||
}
|
||||
|
||||
String text = d.text();
|
||||
if (full)
|
||||
return text;
|
||||
|
||||
Reference in New Issue
Block a user