Adding erb if/else statement with ?
inside <script> tags causes bug with syntax highlighting
#43
Labels
?
inside <script> tags causes bug with syntax highlighting
#43
Describe the bug
Adding erb if/else statement with an
?
(example: `<% if @user.present? %>) inside script tags causes syntax highlighting error. If you copy/paste the code below into your index.html.erb file you'll see what i mean.To Reproduce
Expected behavior
Properly syntax highlighting the
<!--Mentions-->
Screenshots
https://slack-imgs.com/?c=1&url=https%3A%2F%2Fimage.prntscr.com%2Fimage%2F3-905fIHQ8GKiJKqwqBHUQ.png
Additional context
The text was updated successfully, but these errors were encountered: