diff options
-rw-r--r-- | app/lib/bangtags.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 4ba6b5e92..33dc33af6 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -423,9 +423,14 @@ class Bangtags 'bbc' => 'text/x-bbcode', 'bbcode' => 'text/x-bbcode', + 'd' => 'text/x-bbcode+markdown', 'bm' => 'text/x-bbcode+markdown', 'bbm' => 'text/x-bbcode+markdown', 'bbdown' => 'text/x-bbcode+markdown', + + 'h' => 'text/html', + 'htm' => 'text/html', + 'html' => 'text/html', } v = cmd[1].downcase status.content_type = content_types[c] unless content_types[c].nil? |