Skip to content

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

@raf-sh

Description

@raf-sh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions