You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is definitely a bug, but there is a workaround. The problem is that vash is interpreting the html tag name as, literally, body@html.raw(homepageClass).
Workaround: Put a space in there! => <body @html.raw(homepageClass)> Of course, you'll need to change your ternary to not include the space as well.
Found another bug related: <body @model.what class=""></body> fails to compile due to the parser not bailing on the space between .what and class. Workaround: enclose model.what in parens: <body @(model.what) class=""></body>
Thank you @kirbysayshi for answering, long time but better than never 😄 I used this option <body @html.raw(homepageClass)> for working around. I really expect this gets fixed soon :)
Hi, I want to make some attribute according to condition.
¿Is this an expected behavior?
The text was updated successfully, but these errors were encountered: