Bonjour Aymeric, love the library, but there looks to be a bug that was introduced in v.2.4.19.
Previously, as per the resolution of this issue: https://github.com/Aymkdn/html-to-pdfmake/issues/143 you could add style="width: 100%" to a table to cause the table widths to be set to '*' instead of 'auto'.
Once on 2.4.19 this no longer happens, and instead of being set to '*' the widths are being set to false.
Bonjour Aymeric, love the library, but there looks to be a bug that was introduced in v.2.4.19.
Previously, as per the resolution of this issue: https://github.com/Aymkdn/html-to-pdfmake/issues/143 you could add style="width: 100%" to a table to cause the table widths to be set to '*' instead of 'auto'.
Once on 2.4.19 this no longer happens, and instead of being set to '*' the widths are being set to false.
v2.4.18:
v2.4.19:
This then causes pdfmake to throw this error:
You can currently replicate the error on your demo page (https://aymkdn.github.io/html-to-pdfmake/index.html), just use a simple table and set the width to 100%.
Here's the table code:
I think it may be to do with this change, but not 100% sure: https://github.com/Aymkdn/html-to-pdfmake/commit/2bfd39d7047c24fae8b14e191b2594b3a85dccdc#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346R742