Closed agwidarsito closed 3 years ago
If you have a Javascript string that has two spaces within it, such as the following below, then CollapseWhitespaces will remove it.
let myString = 'hello world'; //there are double spaces here
Spaces within strings should be preserved as they're often there for a reason.
This change is important because strings are literals and should not be altered by post processors.
Version: PHP 7.2 Library version: 1.18.13
Please, use version 2.0. Thanks!
Detailed description
If you have a Javascript string that has two spaces within it, such as the following below, then CollapseWhitespaces will remove it.
let myString = 'hello world'; //there are double spaces here
Spaces within strings should be preserved as they're often there for a reason.
Context
This change is important because strings are literals and should not be altered by post processors.
Your environment
Version: PHP 7.2 Library version: 1.18.13