-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to indent attributes #31
Comments
This is a good request. I will plan to implement it, but expect some delays (1-2 weeks) as I am travelling at the moment. |
I have published v1.5.0 that supports new option var js = {
parent: {
_attributes: {
bar: 1,
baz: 'hello'
},
child: {
_attributes: {
attr1: 'a',
attr2: 'b'
}
}
}
}; and using <parent
bar="1"
baz="hello"
>
<child
attr1="a"
attr2="b"
/>
</parent> I hope attributes indentation works correctly for you. Note, however, that |
Thanks! Well, |
I have added |
@nashwaan hello
i got <?xml
version="1.0"
encoding="utf-8"
?>
<...> i don't want to indent the first row Any help would be greatly appreciated |
I would like the option of getting the following output, with each attribute on a separate line with indentation
The text was updated successfully, but these errors were encountered: