forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 13
Location error #19
Copy link
Copy link
Closed
Labels
Description
require("angular-html-parser").parse('<a><br\n></a>').rootNodes[0].sourceSpanResult
ParseSourceSpan {
start: ParseLocation {
file: ParseSourceFile {
content: '<a><br\n></a>',
url: 'angular-html-parser'
},
offset: 0,
line: 0,
col: 0
},
end: ParseLocation {
file: ParseSourceFile {
content: '<a><br\n></a>',
url: 'angular-html-parser'
},
offset: 3,
line: 0, // <--- This seems not right. Should be 1
col: 3
},
details: null
}
Reactions are currently unavailable