-
-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Milestone
Description
I was formatting XML with mode:beautify textpreserve:true force_attribute:true objsort:none but the attributes were still being sorted. Changing lib/markuppretty.js:1300 fixed it for me:
@@ -1297,7 +1298,7 @@
if (tname.slice(0, 3) === "cf_") {
cft = "required";
}
- if (options.jsx === false && cft === undefined) {
+ if (objsortop == true && options.jsx === false && cft === undefined) {
attstore = safeSort(attstore);
}
for (ind = 0; ind < len; ind += 1) {
Reactions are currently unavailable