mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-03 09:31:28 +01:00
Fix lint
This commit is contained in:
parent
39d1eb6dee
commit
e3e58d90e4
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue