diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-16 15:31:43 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-16 15:31:43 +0200 |
commit | aca66270c7e86fc125a8bcce5affc584d7d82a60 (patch) | |
tree | a610d40f4d40b91879d2a97e952f18c0ed755dab /lib/private/preview/txt.php | |
parent | d8a7b1e5372e7fcc05095c3b9aebe90f33da5760 (diff) | |
download | nextcloud-server-aca66270c7e86fc125a8bcce5affc584d7d82a60.tar.gz nextcloud-server-aca66270c7e86fc125a8bcce5affc584d7d82a60.zip |
accept text/markdown as well
Diffstat (limited to 'lib/private/preview/txt.php')
-rw-r--r-- | lib/private/preview/txt.php | 2 |
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/'; } } |