Skip to content

Spans containing only svgs are being deleted #444

@alexcarol

Description

@alexcarol

Description
Spans containing only svgs are being deleted in the import "cleanup" step.

To Reproduce
1.Import a page that has a span containing only an svg element.
2.In the "transform" function of the import script use querySelector to find said svg

Expected behavior
Spans containing svgs remain intact

Version:
16.7.25

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions