https://bugs.kde.org/show_bug.cgi?id=430538

Adrian W. <generic@nonimportant.email> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |generic@nonimportant.email
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
            Version|21.08.3                     |21.12.3
           Platform|Other                       |Manjaro

--- Comment #9 from Adrian W. <generic@nonimportant.email> ---
I have a lot of markdown documents opening with the Txt backend. Figured it out
eventually, it seems to me like it's a bug.

Attached 2 files, one opens with the Txt backend and the other with the
Markdown backend.
- Both are 'mime-type: text/plain'
- Both show in Dolphin as 'Type: Markdown document' (*.md)

But Dolphin properties show different recognized content:
'markdown.md' shows correctly 'Content: plain text document'
'notmarkdown.md' shows incorrectly 'Content: MATLAB file'

The difference that triggers the content to be misdiagnosed is how the first
line starts. Remove the first line from 'markdown.md' and the content changes
to MATLAB document, consequently opening the file in Okular with the Txt
backend.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to