There seems to be a problem with how some html renders after it is inserted into a docx document. This code for example:
<html> <head> <title></title> </head> <body> <div> <div>asdasdasd</div> <div>asdasdasd asdasdasd</div> <div>asdasd</div> <div>asdasdasdasd asdasdasd</div> <div>asdasdasd</div> </div> </body> </html>
Each div shows up with what looks like a single line feed when it renders in a browser. When I cut and past the text from the browser into a docx document in word it looks exactly the same. But, when I insert everything inside the body into a docx using the Document Builder. Each line that is rendered for each div is really tall! It looks like it inserted an extra line after each line but it didn’t the line is just really tall with the text forced to the top of the line… Is this normal? Is there some attribute or style I can insert into these tags that will tell aspose not to do this? Or can I enclose all of this in a tag that will fix this?