Fix text breaks
This commit is contained in:
parent
44b31c7a9c
commit
d1b37b7997
1 changed files with 1 additions and 2 deletions
|
@ -911,10 +911,9 @@ export class TLDR {
|
|||
/* -------------------------------------------------- */
|
||||
|
||||
static fixNewLines = /\r?\n|\r/g
|
||||
static fixSpaces = / /g
|
||||
|
||||
static normalizeText(text: string) {
|
||||
return text.replace(TLDR.fixNewLines, '\n').replace(TLDR.fixSpaces, '\u00a0')
|
||||
return text.replace(TLDR.fixNewLines, '\n')
|
||||
}
|
||||
|
||||
/* -------------------------------------------------- */
|
||||
|
|
Loading…
Reference in a new issue