diff --git a/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js b/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js
index 7ea2f236c..573af8b2a 100644
--- a/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js
+++ b/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js
@@ -240,30 +240,25 @@ module.exports = [
{
name : 'Split Table',
icon : 'fas fa-th-large',
- gen : function(){
- return [
- '
',
- '| d10 | Damage Type |',
- '|:---:|:------------|',
- '| 1 | Acid |',
- '| 2 | Cold |',
- '| 3 | Fire |',
- '| 4 | Force |',
- '| 5 | Lightning |',
- '',
- '```',
- '```',
- '',
- '| d10 | Damage Type |',
- '|:---:|:------------|',
- '| 6 | Necrotic |',
- '| 7 | Poison |',
- '| 8 | Psychic |',
- '| 9 | Radiant |',
- '| 10 | Thunder |',
- '
\n\n',
- ].join('\n');
- },
+ gen : dedent`\n
+
+ | d10 | Damage Type |
+ |:---:|:------------|
+ | 1 | Acid |
+ | 2 | Cold |
+ | 3 | Fire |
+ | 4 | Force |
+ | 5 | Lightning |
+
+ | d10 | Damage Type |
+ |:---:|:------------|
+ | 6 | Necrotic |
+ | 7 | Poison |
+ | 8 | Psychic |
+ | 9 | Radiant |
+ | 10 | Thunder |
+
+ \n`
}
]
},