Tag interpretation inside js script tag
SoluNeXT opened this issue · 0 comments
SoluNeXT commented
Hi,
I've a bad interpretation of ejs tags when inserted inside a script tag.
Using VSCode 1.67.2 and EJS language support v1.3.1
when writing this line inside a .ejs file, i've got an IDE error
<script>
isAgora = <%= (datas.cours.isAgora)??'false' %>;
</script>
IDE return 4 errors and underline <%= and >;
Error tooltip is "expression expected javascript"
Meanwhile, execution is correct, that's just an IDE false positive error !