allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

tr:nth-child(even) or the tr:nth-of-type(even) dont work or the space: " " or the "
" works #44

Open cykeltur opened 8 years ago

cykeltur commented 8 years ago

Hi i have make in java an HTML file that looks like this: (please note the space in the end of the test colums and the gray color)

wanted

but i get the PDF like this: result from wanted

info no junk
info1
0
LOOOOOOOOOOOOOOOOOOOOONGtext2
0
LOOOOOOOOOOOOOOOOOOOOONGtext1
1
smaltext
0

the thing is then i run the YAHP converting HTML to PDF, it become more like if i had rung this file :-( so no gray collor or text ends with " " (space)

result from wanted

do you have any ideas?

(please look at the result pdf and what I wanted..)

best regards Niklas