mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
NINJA.parseRegExpLine = function(line, regExp, formatter, groupText)
|
||||||
{
|
{
|
||||||
var parts = [];
|
var parts = [];
|
||||||
var lastIndex = 0;
|
var lastIndex = -1;
|
||||||
|
|
||||||
while (match = regExp.exec(line)) {
|
while (match = regExp.exec(line)) {
|
||||||
if (match.index > lastIndex) {
|
if (match.index > lastIndex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user