Updates
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export default function twuiNormalizeText(txt: string) {
|
||||
return txt
|
||||
.replace(/\n|\r|\n\r/g, " ")
|
||||
.replace(/ {2,}/g, " ")
|
||||
.trim();
|
||||
}
|
||||
Reference in New Issue
Block a user