Ordered list start attribute overridden
It seems that the start
attribute is overridden for ordered lists.
Here is a minimal example:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
</head>
<body>
<ol>
<li>is 1</li>
</ol>
<p>and</p>
<ol start="2">
<li>should be 2</li>
</ol>
</body>
</html>
Here is an extract of the document I obtain with Paged.js 0.34:
<div>
<ol data-ref="5be05fe2-582e-4fa0-a1e1-78b9508dc431" start="1">
<li data-ref="baff6e67-010d-4e6b-aacf-a82b9b4926a4" data-item-num="1">is 1</li>
</ol>
<p data-ref="dfea791e-44c3-4a9f-b720-8cee4d054991">and</p>
<ol start="1" data-ref="e09a6f7e-33d9-4e59-b50b-92478acaeb8d">
<li data-ref="8d8aea07-2e5f-4834-86cb-2db90b8479e9" data-item-num="1">should be 2</li>
</ol>
</div>