Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra new-lines added when I format the response body as XML #75

Open
negora opened this issue Sep 10, 2018 · 0 comments
Open

Extra new-lines added when I format the response body as XML #75

negora opened this issue Sep 10, 2018 · 0 comments
Assignees

Comments

@negora
Copy link

negora commented Sep 10, 2018

The last version of RESTClient is adding extra new-lines every time that I format the response body as XML. Such lines are added before and after every text node.

For example, version 3.6.1 formats this response well:

<response>
    <state>ok</state>
    <result>
        <sessionPublicCode>884d2aea-2bd8-43a9-89dd-fa7a91d15cfb</sessionPublicCode>
    </result>
</response>

But versions 3.6.2 and 3.7.0 do this:

<response>
    <state>
    ok    
    </state>
    <result>
        <sessionPublicCode>
        4cd57422-2cf0-4d15-83cc-acfc170da42e    
        </sessionPublicCode>
        <roleId>
        v    
        </roleId>
    </result>
</response>

If I click with the right button on the response body, and choose Format -> XML again, it adds other 2 extra new-lines to each text node. And so on.

I've also tried Format -> HTML (just to test), but it adds extra spaces instead of new-lines. It looks like the same defect, but with a different character.

Thank you!

@subwiz subwiz self-assigned this Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants