mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-22 19:11:39 +00:00
minor fix
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1842223a79
commit
670d8b5760
@ -87,7 +87,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