mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +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
|
i = i ?? text.length
|
||||||
var m = 0
|
var m = 0
|
||||||
// walk both strings skipping/counting non-matching stuff...
|
// 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 c = text[n]
|
||||||
var p = m
|
var p = m
|
||||||
// walk to next match...
|
// walk to next match...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user