mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Fixed list parent
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user