2 ms·
This is something I would like to have working, the subtraction of the braces that is. I did have a naive solution where it would insert the braces for you if t
by stackus 3y ago
This is something I would like to have working, the subtraction of the braces that is. I did have a naive solution where it would insert the braces for you if the left the opening brace off and it would assume you wanted the closing brace too. This caused problems when I would put in a continuation of an if statement like:
- 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.