typo in normalizing spaces
svn: r10514
This commit is contained in:
parent
fb027536f4
commit
f5969e0e65
|
@ -255,8 +255,8 @@ function MinComparesRx(pats, str) {
|
|||
}
|
||||
|
||||
function NormalizeSpaces(str) {
|
||||
return str.replace(/\s\s*/g," ") // single spaces
|
||||
replace(/^\s/,"").replace(/\s$/,""); // trim edge spaces
|
||||
return str.replace(/\s\s*/g," ") // single spaces
|
||||
.replace(/^ /,"").replace(/ $/,""); // trim edge spaces
|
||||
}
|
||||
|
||||
function UrlToManual(url) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user