summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.php b/common.php
index cc9ce1c..9bd8272 100644
--- a/common.php
+++ b/common.php
@@ -40,6 +40,11 @@ function GuessMimeType($fname)
return 'image/png';
case 'jpeg':
return 'image/jpeg';
+ case 'htm':
+ case 'html':
+ return 'text/html';
+ case 'md':
+ return 'text/markdown';
}
return 'text/plain';