Skip to content

Element containing only a space (or nbsp) produces no tags #7

@bfintal

Description

@bfintal
console.log((new HTMLString.String('<span>\u00a0</span>')).html())
// or
console.log((new HTMLString.String('<span> </span>')).html())

Produces:

" "

Expected:

"<span> </span>"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions