about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-02 00:27:44 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-02 00:27:44 -0500
commit3813810cac8eb138ed1819058d122503628d6cba (patch)
tree04704dc8ab98b23d99736a750d685a6a6c06fb2b /app/lib
parent06fb561bd6fb6e2ba7fcb2df1ab294e4a068eff4 (diff)
bbcode: `[code]` produces `pre code` for `glitch-soc` compatability
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index 3456f30f8..efe0fbe36 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -142,7 +142,7 @@ class Formatter
 			description: '', example: '',
     },
 		code: {
-			html_open: '<pre>', html_close: '</pre>',
+			html_open: '<pre><code>', html_close: '</code></pre>',
 			description: '', example: '',
       block_tag: true,
     },