Created attachment 34769 [details] example mallard file Hi! shared-mime-info is taking some mallard help files (http://projectmallard.org/about/index.html) as html files. These files format is XML, closer to docbook than html, but however shared-mime-info takes it as an html document. For other similar files it returns text/plain, which is more sensible in this case. I'm attaching an example document, more specimens can be found in /usr/share/gnome/help/gnome-doc-mallard-spec/C/ if a recent gnome-doc-utils is installed.
Please follow the instructions at: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING#n31 for mime-type additions.
*** This bug has been marked as a duplicate of bug 23008 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.