more low-hanging fruits
This commit is contained in:
parent
4f82709bf2
commit
b2dca4a3f6
20 changed files with 45 additions and 45 deletions
|
|
@ -154,7 +154,7 @@ const registration = {
|
|||
})
|
||||
},
|
||||
replaceNewlines(str) {
|
||||
return str.replace(/\s*\n\s*/g, ' \n')
|
||||
return str.replaceAll('\s*\n\s*', ' \n')
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue