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

Empty html tags fail to be converted to PDF #50

Open mugovechingwaru opened 7 years ago

mugovechingwaru commented 7 years ago

hi

When converting html string to pdf and empty html element is not being converted e.g

this will not be shown in the pdf because its empty. however if you make it look like this

waal

it will convert.

i even noticed that same happens in divs.

Where am i getting it wrong ?

Your response is greatly appreciated

Regards

mugovechingwaru commented 7 years ago

Sample samplehtmlstring.txt