I need a clarification regarding the link creation for <ol> list in the HTML page.
Here is the example code for reference.
<ol>
<li>test</li>
<li>test</li>
</ol>
that gives this as output:
- test
- test
I need to create the links only on the numbers preceding the actual text. Is it possible?
contentproperty on theli:beforepseduo-element, and I'd bet a lot of ereaders don't support that. For what you are trying to do, it would probably be easier to build out your list manually with<div>s and<p>s instead of using the list element. Then the numbers would be actual text which you could wrap with an anchor tag. – blendenzo Mar 30 '17 at 05:59