Aymkdn / html-to-pdfmake

This module permits to convert HTML to the PDFMake format
https://aymkdn.github.io/html-to-pdfmake/index.html
MIT License
545 stars 88 forks source link

rgba colors parsed incorrectly #214

Closed kirill0186 closed 4 months ago

kirill0186 commented 4 months ago
<p><span style="color:rgba(255, 0, 0, 1)">colored</span></p>
<p><span style="background-color:rgba(0, 139, 139, 1)">Selected</span></p>
<p><b><i><u><span style="font-size:32px;color:rgba(255, 255, 0, 1);background-color:rgba(128, 0, 128, 1)">Mixed</span></u></i></b><b><i><span style="font-size:32px;color:rgba(255, 255, 0, 1)"></span></i></b></p>

image

Describe the bug css rgba colors parsed incorrectly.

Aymkdn commented 4 months ago

It should be fixed with the new release v2.5.9