Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
aca66270
Commit
aca66270
authored
Oct 16, 2013
by
Thomas Müller
Browse files
accept text/markdown as well
parent
d8a7b1e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/preview/txt.php
View file @
aca66270
...
...
@@ -64,7 +64,7 @@ class TXT extends Provider {
class
MarkDown
extends
TXT
{
public
function
getMimeType
()
{
return
'/text\/x-markdown/'
;
return
'/text\/
(
x-
)?
markdown/'
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment