My HTML code
<p dir="ltr" style="line-height:1.295;margin-left: 21.3pt;text-align: justify">
<span style="font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">TESTING: </span>
</p>
<ol style="margin-top:0;margin-bottom:0;padding-inline-start:48px">
<li dir="ltr" style="list-style-type:upper-alpha;font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;margin-left: 4.5pt" aria-level="1">
<p dir="ltr" style="line-height:1.3800000000000001;margin-right: -1.1pt;text-align: justify"
role="presentation">
<span style="font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">
point non-number A
</span>
</p>
</li>
</ol>
<p dir="ltr" style="line-height:1.3800000000000001;margin-left: 42.55pt;margin-right: -1.1pt;text-align: justify">
<span style="font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">fotc:</span>
</p>
<ol style="margin-top:0;margin-bottom:0;padding-inline-start:48px">
<li dir="ltr"
style="list-style-type:decimal;font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;margin-left: 23.949999999999996pt;padding-left: 3.8500000000000014pt"
aria-level="1">
<p dir="ltr" style="line-height:1.3800000000000001;margin-right: -1.1pt;text-align: justify" role="presentation">
<span style="font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">
point number 1
</span>
</li>
<li dir="ltr"
style="list-style-type:decimal;font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;margin-left: 23.949999999999996pt;padding-left: 3.8500000000000014pt"
aria-level="1">
<p dir="ltr" style="line-height:1.3800000000000001;margin-right: -1.1pt;text-align: justify"
role="presentation">
<span style="font-size:10pt;font-family:Roboto,sans-serif;color:#000000;background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">
point number 2;
</span></p>
</li>
</ol>
I'm using html-to-pdfmake to convert HTML generated from a Rich Text Editor (RTE). I've discovered a bug where an ordered list with a list-style-type: upper-alpha is incorrectly rendered as a decimal list in the PDF output.
When using html-to-pdfmake to convert HTML containing an <ol> (ordered list) with list-style-type: upper-alpha to PDF, the list items are incorrectly rendered as a standard decimal list (1, 2, 3) instead of the intended uppercase letters (A, B, C).
The resulting PDF renders the list as '1. point non-number A.'
The resulting PDF should render the list as 'A. point non-number A.' (my expected)
My HTML code
I'm using html-to-pdfmake to convert HTML generated from a Rich Text Editor (RTE). I've discovered a bug where an ordered list with a list-style-type: upper-alpha is incorrectly rendered as a decimal list in the PDF output.
When using html-to-pdfmake to convert HTML containing an
<ol>(ordered list) with list-style-type: upper-alpha to PDF, the list items are incorrectly rendered as a standard decimal list (1, 2, 3) instead of the intended uppercase letters (A, B, C).The resulting PDF renders the list as '1. point non-number A.'
The resulting PDF should render the list as 'A. point non-number A.' (my expected)