Fixed NaN
This commit is contained in:
parent
439ee9ecad
commit
a1aca53f9a
@ -1451,7 +1451,7 @@ angular.module('izhukov.utils', [])
|
||||
offset: matchIndex,
|
||||
length: text.length
|
||||
})
|
||||
rawOffset -= match[0] - text.length
|
||||
rawOffset -= match[0].length - text.length
|
||||
}
|
||||
raw = raw.substr(match.index + match[0].length)
|
||||
rawOffset += match.index + match[0].length
|
||||
|
Loading…
Reference in New Issue
Block a user