[Bug] Pretty-print XML removes spaces in element content
@MegatronKing is already working on this.
Since Sep 3, 2026.
Assessment
This issue has not been assessed yet.
Description
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)
- Dominant language
- No language data
- Stars
- 6.8k
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reqable/reqable-app
-
[question] 不能完整抓取请求Possibly taken @MegatronKing claimed this 1 day ago. Openquestion
reqable/reqable-app#2953 · 1 assignee ·
-
[question] 右键复制CURL的问题Possibly taken @MegatronKing claimed this 6 days ago. Openquestion
reqable/reqable-app#2952 · 1 assignee ·
-
[bug]Possibly taken @MegatronKing claimed this 6 days ago. Openbug
reqable/reqable-app#2951 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
reqable/reqable-app#2950 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
reqable/reqable-app#2949 ·