Skip to content

not remove last whitespaces  #13

@talltotal

Description

@talltotal
    it('remove whitespace', function() {
        var json = '{ " k e y ":   " va lue"       } ';
        var res = JSON.minify(json);
        res.should.equal('{" k e y ":" va lue"}');
    });

// but get
`{" k e y ":" va lue"       } `

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