Skip to content

NBSP erroneously treated as generic whitespace #136

Description

@Bilge

<span>foo &nbsp;&middot;&nbsp; bar</span> is being compressed down to <span>foo &middot; bar</span>, as if &nbsp; were just generic whitespace and not a significant character. This is wrong; &nbsp; should be preserved.

I am just using the default config (new HtmlMin()->minify($html)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions