chore: Lint shared directory
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
|
||||
const unescape = (text: string) => {
|
||||
return text
|
||||
.replace(/\\([\\`*{}[\]()#+\-.!_>])/g, '$1')
|
||||
.replace(/\n\\\n/g, '\n\n');
|
||||
.replace(/\\([\\`*{}[\]()#+\-.!_>])/g, "$1")
|
||||
.replace(/\n\\\n/g, "\n\n");
|
||||
};
|
||||
|
||||
export default unescape;
|
||||
|
Reference in New Issue
Block a user