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

Be a bit smarter detecting XML? #2

Open
WhyNotHugo opened this issue May 30, 2020 · 0 comments
Open

Be a bit smarter detecting XML? #2

WhyNotHugo opened this issue May 30, 2020 · 0 comments

Comments

@WhyNotHugo
Copy link

The config files for fontconfig are XML, but their extension if .conf.

It seems that even with this package installed, they're not recognised as xml (I guess it's based on extension and not the contents themselves?). Might it be possible to do filetype detection based on the header <?xml version="1.0"?>?

Is that something that this plugin should handle? Or is the problem that the dosini handler thinks the file is an ini due to extension?

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

No branches or pull requests

1 participant