Open abayken opened 2 years ago
I have following html:
<li> Some item <strong>here</strong></li>
I add style to li tag to give them bullet points:
let li = Style { $0.textTransforms = [ TextTransform.custom { return "• " + $0 } ] }
Because of li is the parent for tags inside of it, that text transformation is also applying to strong tag. So my strong tag having a bullet point. How to avoid it?
I have following html:
I add style to li tag to give them bullet points:
Because of li is the parent for tags inside of it, that text transformation is also applying to strong tag. So my strong tag having a bullet point. How to avoid it?