diff --git a/src/utils/dom.ts b/src/utils/dom.ts
index b8fb3b32..1ed6ea97 100644
--- a/src/utils/dom.ts
+++ b/src/utils/dom.ts
@@ -95,7 +95,10 @@ export const formatText = (text: string): string =>
.replace(/:\/\//gim, ':|--|')
.replace(/(\/\/[^\n]+)/gim, '$1')
.replace(/\/\/\s*(todo|туду):?\s*([^\n]+)/gim, '// $1 $2')
- .replace(/\/\/\s*(done|сделано|сделал|готово|fixed|пофикшено|фиксед):?\s*([^\n]+)/gim, '// $1 $2')
+ .replace(
+ /\/\/\s*(done|сделано|сделал|готово|fixed|пофикшено|фиксед):?\s*([^\n]+)/gim,
+ '// $1 $2'
+ )
.replace(/(\*\*[\s\S]*?\*\*)/gim, '$1')
.replace(/(\_\_[\s\S]*?\_\_)/gim, '$1')
.replace(/(\!\![\s\S]*?(\!\!|\n|$))/gim, '$1')
@@ -106,6 +109,7 @@ export const formatText = (text: string): string =>
/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi,
'$1'
)
+ .replace(' -- ', ' — ')
.split('\n')
.filter(el => el.trim().length)
.join('\n');