mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Make trailing slash required on cleanText regex
This commit is contained in:
parent
428e8d0cb1
commit
f76e3b59b2
@ -713,6 +713,6 @@ namespace ts.NavigationBar {
|
||||
// \r - Carriage Return
|
||||
// \u2028 - Line separator
|
||||
// \u2029 - Paragraph separator
|
||||
return text.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g, "");
|
||||
return text.replace(/\\(\r?\n|\r|\u2028|\u2029)/g, "");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user