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