accept text/markdown as well

remotes/origin/stable6
Thomas Müller 12 years ago
parent d8a7b1e537
commit aca66270c7
  1. 2
      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/';
}
}

Loading…
Cancel
Save