Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
fixes #172
Browse files Browse the repository at this point in the history
  • Loading branch information
arafato committed Mar 21, 2018
1 parent 74b17f2 commit 3ea3c35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/xml/queue/QueueMessageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class QueueMessagesListXmlModel {
}

toXml() {

return js2xml.parse('QueueMessagesList', this);
const xml = js2xml.parse('QueueMessagesList', this);
return xml.replace(/\>[\s]+\</g, '><');
}
}

Expand Down
3 changes: 2 additions & 1 deletion lib/xml/queue/QueueMessageText.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class QueueMessageText {
}

toXml() {
return js2xml.parse('QueueMessage', this);
const xml = js2xml.parse('QueueMessage', this);
return xml.replace(/\>[\s]+\</g, '><');
}
}

Expand Down

0 comments on commit 3ea3c35

Please sign in to comment.