mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Fix markdown parsing
This commit is contained in:
parent
2b1b625d12
commit
93c9d10504
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1159,7 +1159,7 @@ NINJA.parseRegExp = function(val, regExpStr, formatter, groupText)
|
||||
NINJA.parseRegExpLine = function(line, regExp, formatter, groupText)
|
||||
{
|
||||
var parts = [];
|
||||
var lastIndex = 0;
|
||||
var lastIndex = -1;
|
||||
|
||||
while (match = regExp.exec(line)) {
|
||||
if (match.index > lastIndex) {
|
||||
|
Loading…
Reference in New Issue
Block a user