Skip to content

non html-entities non-breaking space gives a stray â #106

@pieterw2w

Description

@pieterw2w

I use this library in combination with symfony/html-sanitizer to get rid of xss exploits etc.

In my html there is a <div>&nbsp;</div> symfony/html-sanitizer changes this to <div> </div> (so a non breaking space without html entity)

Now if voku/htmlmin minifies this, it becomes <div>&acirc;&nbsp;</div>

I fixed it locally with a str_replace, but it would be better if this library can handle this properly?

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