mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 01:50:07 +00:00
Merge branch 'master' of github.com:flynx/pWiki
This commit is contained in:
commit
4cefc92faf
@ -101,7 +101,7 @@ var getMarkdownOffset = function(markdown, text, i){
|
||||
i = i ?? text.length
|
||||
var m = 0
|
||||
// walk both strings skipping/counting non-matching stuff...
|
||||
for(var n=0; n < i; n++, m++){
|
||||
for(var n=0; n <= i; n++, m++){
|
||||
var c = text[n]
|
||||
var p = m
|
||||
// walk to next match...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user