diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-18 17:14:01 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:50 -0500 |
commit | fd753d1201388db180ad9f891012cf7e79b699e4 (patch) | |
tree | 1c7241e88cae70b08dc426dc8dd5ba4c5bedfd07 /app/lib | |
parent | 0a00a42c67d8ff5e64d11c657d7088265fe52150 (diff) |
add html to `format` bangtag + shortcut for bbdown`
Diffstat (limited to 'app/lib')
-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? |