mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Rule/Jsoup: own text
This commit is contained in:
@@ -1342,9 +1342,10 @@ public class EntityRule {
|
||||
}
|
||||
if (html != null) {
|
||||
Document d = JsoupEx.parse(html);
|
||||
Elements e = d.select(notes.substring(JSOUP_PREFIX.length()));
|
||||
if (e.size() > 0)
|
||||
notes = e.text();
|
||||
String selector = notes.substring(JSOUP_PREFIX.length());
|
||||
Element e = d.select(selector).first();
|
||||
if (e != null)
|
||||
notes = e.ownText();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user