https://bugs.kde.org/show_bug.cgi?id=430538
Albert Astals Cid <aa...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/okular/commit/9e23338b | |002cd14d8a9ad191526a7950e72 | |d97e9 --- Comment #4 from Albert Astals Cid <aa...@kde.org> --- Git commit 9e23338b002cd14d8a9ad191526a7950e72d97e9 by Albert Astals Cid. Committed on 27/12/2020 at 00:16. Pushed by aacid into branch 'release/20.12'. Fix opening markdown files In d2ae2c283df3d42e72a964d8891e0915f8f3a94b we introduced a tweak that broke opening markdown files. what we really want is this: * If the mimetype from the filename is text (or children) but looking at the data says it's not text, then try opening first opening with the data suggeted mimetype * But if the data suggested mimetype says it's text, use the filename suggested mimetype since for example, the only way to really differentiate markdown from text is the filename, so trust that M +4 -2 part/part.cpp https://invent.kde.org/graphics/okular/commit/9e23338b002cd14d8a9ad191526a7950e72d97e9 -- You are receiving this mail because: You are watching all bug changes.