XML Beautify: indentation screwed by xmlns attribute in self-closing element
Open
bug
- Dominant language
- JavaScript
- Stars
- 35.8k
- Forks
- 4.1k
- Avg merge
- 2d 26m
- Merged PRs (30d)
- 33
Description
https://gchq.github.io/CyberChef/#recipe=XML_Beautify('%5C%5Ct')&input=PGE%2BDQoJCTxiIHhtbG5zPSJmb28iIC8%2BDQo8L2E%2B&ieol=CRLF
Contributor guide
Research direction
Start with the XML Beautify recipe in CyberChef and reproduce the example from the issue, including the xmlns attribute on the self-closing element. Trace the formatter's handling of that element and verify that the resulting indentation matches the intended XML structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100