xmlformatter icon indicating copy to clipboard operation
xmlformatter copied to clipboard

Question: Ignore Attributes

Open JustBarnt opened this issue 1 year ago • 1 comments

Is there a way to make the formatter not re-order attributes? I've tried the --preserve flag but I can't seem to find any way to prevent it from re-ordering my attributes

JustBarnt avatar Oct 08 '24 18:10 JustBarnt

Line… https://github.com/pamoller/xmlformatter/blob/ebbc3b307c93ba44629686703ba6908fe2e0c558/xmlformatter.py#L725 …seems to be related. If that's the right spot, the behavior is currently unconditional.

hartwork avatar Oct 09 '24 15:10 hartwork

closed with v0.2.7

pamoller avatar Oct 27 '24 15:10 pamoller