Closed matcls closed 3 years ago
Using JavaScript in HTML, if there is an arrow function between the brackets BH does not find the respective bracket.
The image shows first without the arrow function and then using the arrow function.
...
<html lang="en" dir="ltr"> <body> <script type="application/javascript"> if (info.readyState === 4 && info.status === 200) { data.forEach((post) => { addPostRow(post); }); } </script> </body>
This was brought up recently and is due to a recurrent change in JavaScript scoping in the syntax highlighting.
I had a fix, but forgot to commit it 🙃. I will try and get the fix in the weekend.
Description
Using JavaScript in HTML, if there is an arrow function between the brackets BH does not find the respective bracket.
The image shows first without the arrow function and then using the arrow function.
Support Info
...
Steps to Reproduce Issue