ejs icon indicating copy to clipboard operation
ejs copied to clipboard

Newline slurping breaks lines count

Open bruce965 opened this issue 10 years ago • 0 comments

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

bruce965 avatar Dec 01 '14 13:12 bruce965