Closed ccinelli closed 5 years ago
Error:
Missing ending "div" tag at line 6 col 0
Code:
class { onCreate() { } } <div> $ const a =23s2; // What? </div>
The error should point to the line with the incorrect token (23s2).
23s2
Missing ending "div" tag at line 6 col 0. This pretty much the same code in #1330 I just added a comment...
Copy the code in https://markojs.com/try-online
This particular issue was due to an error in parsing comments which was resolve here: marko-js/htmljs-parser#71
Marko Version: 4.16.0
Details
Error:
Code:
Expected Behavior
The error should point to the line with the incorrect token (
23s2
).Actual Behavior
Missing ending "div" tag at line 6 col 0
. This pretty much the same code in #1330 I just added a comment...Steps to Reproduce
Copy the code in https://markojs.com/try-online