Skip to content

Newlines are not trimmed in xmlmin #9

@franza

Description

@franza

See test:

it('should trim xml input', function () {
  var xml = '\n<a>data</a>\n';
  var result = pd.xmlmin(xml);
  expect(result).toBe('<a>data</a>');
});

It doesn't pass because xmlmin doesn't trim newline characters.

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