Skip to content
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

pretty formating #229

Closed
cekvenich opened this issue Aug 15, 2019 · 3 comments · Fixed by #230
Closed

pretty formating #229

cekvenich opened this issue Aug 15, 2019 · 3 comments · Fixed by #230

Comments

@cekvenich
Copy link

I think the sitemap XML generated used to be 'pretty' formatted. Now I just get a long string with no line spacing.

Do I have to use a XML beautifier?

@derduher
Copy link
Collaborator

I didn't think anyone wanted pretty print. I can add an option to a future version.

@derduher
Copy link
Collaborator

@cekvenich this is now in master. Call smi.toString(true) to get a pretty print form.

@cekvenich
Copy link
Author

Great. But I have to wait for you to release it to npm, I have much complexity in my app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants