]> source.dussan.org Git - nextcloud-server.git/commitdiff
accept text/markdown as well
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 16 Oct 2013 13:31:43 +0000 (15:31 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 16 Oct 2013 13:31:43 +0000 (15:31 +0200)
lib/private/preview/txt.php

index b3820ead8d6899baf1ecba77983fe7f2945eec35..c9aa20968d862770afa061d29c89aa1dc3755634 100644 (file)
@@ -64,7 +64,7 @@ class TXT extends Provider {
 class MarkDown extends TXT {
 
        public function getMimeType() {
-               return '/text\/x-markdown/';
+               return '/text\/(x-)?markdown/';
        }
 
 }