When viewing an XML response in the Body → XML tab, enabling formatting (pretty-print) automatically trims whitespace inside element text content.
Significant spaces that exist in the original response body are removed after formatting.
To Reproduce
Capture or send a request that returns an XML response containing spaces inside text nodes (e.g. PRAI or similar).
Open the response in the Body tab.
Switch to XML view and enable formatting / pretty-print.
Observe that the spaces inside the text content have been trimmed.
Expected behavior
XML formatting should only add indentation and line breaks for readability. It should not modify or trim whitespace that exists inside element text nodes.
Screenshots

Information
Platform: windows
OS: Windows 11
Arch: x86-64
App Version: 3.2.23 (221) (x86_64)
When viewing an XML response in the Body → XML tab, enabling formatting (pretty-print) automatically trims whitespace inside element text content.
Significant spaces that exist in the original response body are removed after formatting.
To Reproduce
Capture or send a request that returns an XML response containing spaces inside text nodes (e.g. PRAI or similar).
Open the response in the Body tab.
Switch to XML view and enable formatting / pretty-print.
Observe that the spaces inside the text content have been trimmed.
Expected behavior
XML formatting should only add indentation and line breaks for readability. It should not modify or trim whitespace that exists inside element text nodes.
Screenshots
Platform: windows
OS: Windows 11
Arch: x86-64
App Version: 3.2.23 (221) (x86_64)