Fix preview for markdown files not loaded on mode change
For markdown files no mimetype gets returned, so just manually add the mimetype BUG: 384972
For markdown files no mimetype gets returned, so just manually add the mimetype BUG: 384972
mentioned in commit 86780f90