ejs
ejs copied to clipboard
Newline slurping breaks lines count
Line slurping seems to break line counter, error line index decreases by one for every slurped line in the code before the error.
With slurping
test.ejs:3
1| AAA
2| <% data = "test"; -%>
>> 3| BBB
4| <%= qdata %>
5| CCC
qdata is not defined
Without slurping
test.ejs:4
2| <% data = "test"; %>
3| BBB
>> 4| <%= qdata %>
5| CCC
qdata is not defined