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

Inducing errors on Android XML files #158

Closed
rbaprado opened this issue Dec 19, 2014 · 3 comments
Closed

Inducing errors on Android XML files #158

rbaprado opened this issue Dec 19, 2014 · 3 comments
Assignees

Comments

@rbaprado
Copy link

<item name="android:cacheColorHint">@android:color/transparent</item>

Turns into:

<item name="android:cacheColorHint">@android: color/transparent</item>

Side-question: is there a way to preserve newlines in XML files?

@Glavin001
Copy link
Owner

XML is handled by js-beautify and treated as HTML: https://github.com/Glavin001/atom-beautify/blob/master/lib/language-options.coffee#L179-L182

I'd recommend that you forward your issue to their repo: https://github.com/beautify-web/js-beautify
If there's anything I can do internal, such as update their dependency / add new options / etc, please let me know. Thanks!

@Glavin001 Glavin001 self-assigned this Dec 27, 2014
@Glavin001 Glavin001 modified the milestone: My Christmas List Dec 27, 2014
@rbaprado
Copy link
Author

I forwarded the issue to them, thanks.

@bitwiseman
Copy link
Contributor

Note: this doesn't repro in atom-beautify or in js-beautify.

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

No branches or pull requests

3 participants