PrettyPrint indent size is alway 2 spaces
Bug #1727305 reported by
Rade Martinović
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I notified this using https:/
Changed in lxml: | |
status: | New → Won't Fix |
To post a comment you must log in.
Not easily. libxml2 does the pretty printing, and it does not have an option for changing the indentation. Supporting a different "indent" (string) option would require either a) adding that option to libxml2, or b) reimplementing the entire serialiser in lxml. I'd rather not allow the latter, and the first would mean that the feature would not always be available for users.