mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Enable quotes inline
This commit is contained in:
@@ -110,7 +110,7 @@ public class HtmlHelper {
|
||||
return document.outerHtml();
|
||||
}
|
||||
|
||||
static String sanitize(Context context, String html, boolean showQuotes) {
|
||||
static String sanitize(Context context, String html) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean paranoid = prefs.getBoolean("paranoid", true);
|
||||
|
||||
@@ -125,11 +125,6 @@ public class HtmlHelper {
|
||||
.addProtocols("img", "src", "data");
|
||||
final Document document = new Cleaner(whitelist).clean(parsed);
|
||||
|
||||
// Quotes
|
||||
if (!showQuotes)
|
||||
for (Element quote : document.select("blockquote"))
|
||||
quote.html("…");
|
||||
|
||||
// Short quotes
|
||||
for (Element q : document.select("q")) {
|
||||
q.prependText("\"");
|
||||
|
||||
Reference in New Issue
Block a user