openhtmltopdf icon indicating copy to clipboard operation
openhtmltopdf copied to clipboard

css selector "nth-last-child(2)"

Open rrmtech opened this issue 2 years ago • 0 comments

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.

rrmtech avatar Nov 24 '22 14:11 rrmtech