Skip to content

UnsupportedHTML: Loosing Styles applied to Empty Paragraphs #673

@jleandroperez

Description

@jleandroperez

Details:

Empty Paragraphs, when analyzed by NSAttributedStringToNodes, currently produce no ElementNodes. All of their metadata is being lost.

Input:

<span><br>Here!</span>

Output:

<br><span>Here!</span>

Note that the span wrapping for the line break is being lost.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions