Html2OpenXml is a small .Net library that convert simple or advanced HTML to plain OpenXml components. This program has started in 2009, initially to convert user's comments into templated Word.
MIT License
325
stars
110
forks
source link
Converting "line1<div>line2<br><div>line3<br></div></div>" results in 4 lines instead of 3 lines #158
When converting line1<div>line2<br><div>line3<br></div></div> resulting file looks like this:
Same HTML opened in browser looks like this:
Looks like <DIV> must start in new line, but when it is already in new line, then there is no need to create yet another line
When converting
line1<div>line2<br><div>line3<br></div></div>
resulting file looks like this: Same HTML opened in browser looks like this: Looks like<DIV>
must start in new line, but when it is already in new line, then there is no need to create yet another lineHtmlTest.docx