diff --git a/assets/js/markdowntoolbar.ts b/assets/js/markdowntoolbar.ts
index 0b355e85..fd53c1b2 100644
--- a/assets/js/markdowntoolbar.ts
+++ b/assets/js/markdowntoolbar.ts
@@ -259,7 +259,7 @@ function escapeSelection(textarea: HTMLTextAreaElement, options: Partial<SyntaxH
       };
     }
 
-    const newText = text.replace(/([*_[\]()^`%\\~<>#|])/g, '\\$1');
+    const newText = text.replace(/([*_[\]()^`%\\~<>#|:.+\-])/g, '\\$1');
 
     return {
       newText,