fix markdown off by 1 error
This commit is contained in:
@@ -312,7 +312,7 @@ class MarkDown {
|
|||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
find === count &&
|
find === count &&
|
||||||
(count != 1 || txt[j + 1] === " " || txt[j + 1] === "\n" || txt[j + 1] === undefined)
|
(count != 1 || txt[j] === " " || txt[j] === "\n" || txt[j] === undefined)
|
||||||
) {
|
) {
|
||||||
appendcurrent();
|
appendcurrent();
|
||||||
i = j;
|
i = j;
|
||||||
|
Reference in New Issue
Block a user