diff --git a/ghost/admin/lib/koenig-editor/addon/options/text-expansions.js b/ghost/admin/lib/koenig-editor/addon/options/text-expansions.js index 6f4a9d3b96..ef7349a287 100644 --- a/ghost/admin/lib/koenig-editor/addon/options/text-expansions.js +++ b/ghost/admin/lib/koenig-editor/addon/options/text-expansions.js @@ -196,7 +196,7 @@ export default function (editor) { function matchStrikethrough(editor, text) { let {range} = editor; - let matches = text.match(/(?:^|\s)~([^\s~]+|[^\s~][^~]*[^\s])~/); + let matches = text.match(/(?:^|\s)~~([^\s~]+|[^\s~][^~]*[^\s])~~/); if (matches) { let match = matches[0].trim(); range = range.extend(-(match.length));