by ceritium · 2y ago · 0 comments
- if user != nil {
%strong The user exists
- }1. https://github.com/ruby/syntax_suggest/blob/main/lib/syntax_...
- else if other_condition
%span other content
- else
%span another bit of content
I pulled the broken solution completely and do plan to revisit dropping the brace requirement because not having the braces aligns with the idea/reason why you'd use Haml in the first place. - if user != nil
%strong The user exists
(That being said, the indentation bit also tripped me up in the past)