mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Fixed list parent
This commit is contained in:
parent
9187824900
commit
3357168ec7
1 changed files with 4 additions and 0 deletions
|
@ -2167,6 +2167,10 @@ public class HtmlHelper {
|
|||
ssb.append("\n");
|
||||
|
||||
Element parent = element.parent();
|
||||
while (parent != null &&
|
||||
!"ol".equals(parent.tagName()) &&
|
||||
!"ul".equals(parent.tagName()))
|
||||
parent = parent.parent();
|
||||
if (parent == null || "ul".equals(parent.tagName()))
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P)
|
||||
setSpan(ssb, new BulletSpan(dp6, colorAccent), start, ssb.length());
|
||||
|
|
Loading…
Add table
Reference in a new issue