summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/txt.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/txt.php')
-rw-r--r--lib/private/preview/txt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/txt.php b/lib/private/preview/txt.php
index b3820ead8d6..c9aa20968d8 100644
--- a/lib/private/preview/txt.php
+++ b/lib/private/preview/txt.php
@@ -64,7 +64,7 @@ class TXT extends Provider {
class MarkDown extends TXT {
public function getMimeType() {
- return '/text\/x-markdown/';
+ return '/text\/(x-)?markdown/';
}
}