add html to `format` bangtag + shortcut for bbdown`

staging
multiple creatures 2019-05-18 17:14:01 -05:00
parent 0a00a42c67
commit fd753d1201
1 changed files with 5 additions and 0 deletions

View File

@ -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?