Josee9988 / MinifyAll

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗢𝗻𝗢𝗳𝗢𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 π˜Ύπ™€π™’π™₯π™§π™šπ™¨π™¨ and π™œπ™―π™žπ™₯ files and folders πŸ“¦ Reduce your bundle and file sizes with lightning speed ⚑
https://minifyall.jgracia.es/
GNU General Public License v3.0
71 stars 10 forks source link

[Bug] Multiple white spaces in a string should not be reduce to one white space! #153

Open cateyes99 opened 1 year ago

cateyes99 commented 1 year ago

🐞 Bug Report

Describe the bug


Is this a regression?

To Reproduce

  1. Create a JSON file
    {
    "title": "a     b"
    }

    Minifying it results in

    {"title":"a b"}
  2. Create a XML file
    <a>
    <b c="d     e">f     g</b>
    </a>

    Minifying it results in

    <a><b c="d e">f g</b></a>

Expected behaviour

Media prove


Your environment


Additional context

*

welcome[bot] commented 1 year ago

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!