Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text from childNodes of <li> not added during addHtml() #945

Closed
raf-sh opened this issue Nov 15, 2016 · 3 comments
Closed

Text from childNodes of <li> not added during addHtml() #945

raf-sh opened this issue Nov 15, 2016 · 3 comments

Comments

@raf-sh
Copy link

raf-sh commented Nov 15, 2016

When importing data from HTML generated by WYSWYG editor
code usually contains a lot of nested tags this leads to having no text data in final docx document

example of html from WYSWYG editor:

<ul>
	<li>
		<span style="font-family: arial,helvetica,sans-serif;">
			<span style="font-size: 12px;">
				list item1
			</span>
		</span>
	</li>
	<li>
		<span style="font-family: arial,helvetica,sans-serif;">
			<span style="font-size: 12px;">
				list item2
			</span>
		</span>
	</li>
</ul>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@troosan
Copy link
Contributor

troosan commented Nov 18, 2017

thanks for this (and the fix), please check the develop branch, this should be fixed now.

@troosan
Copy link
Contributor

troosan commented Jan 13, 2018

complete fix in #1239

@samimussbach
Copy link

I can confirm that your fix works with our data, Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants