Wrap preview block quotes in square brackets

This commit is contained in:
M66B 2020-02-28 17:58:31 +01:00
parent c932d05d5f
commit 482a65ddf3
1 changed files with 5 additions and 0 deletions

View File

@ -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;