Fixed navigationbar regex

This commit is contained in:
Armando Aguirre
2019-08-15 13:49:11 -07:00
parent 209ca0749f
commit 428e8d0cb1

View File

@@ -713,6 +713,6 @@ namespace ts.NavigationBar {
// \r - Carriage Return
// \u2028 - Line separator
// \u2029 - Paragraph separator
return text.replace(/\\?(\r?\n|\u2028|\u2029)/g, "");
return text.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g, "");
}
}