openhtmltopdf
openhtmltopdf copied to clipboard
css selector "nth-last-child(2)"
Hi all! I am trying to select the penultimate(the second last) column with the css selector "nth-last-child(2)". The html itself works but in the generated pdf does not work. I tried some of the sandbox projects (https://sandbox.openhtmltopdf.com) but it didn't work there either. I wonder if this is a bug and do you know a workaround for this?
Update I found this in the logs
WARNING:: nth-last-child is not a valid function in this context at line 51. Skipping ruleset.