gchq / gchq/CyberChef

XML Beautify: indentation screwed by xmlns attribute in self-closing element

Open
#2,501 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

XML Beautify:
```



```

https://gchq.github.io/CyberChef/#recipe=XML_Beautify('%5C%5Ct')&input=PGE%2BDQoJCTxiIHhtbG5zPSJmb28iIC8%2BDQo8L2E%2B&ieol=CRLF

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.