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
<p><% if condition %><p><ul>
ul text
</ul>
p text
</p>
if text
<% else %>
else text
<% end %></p>
Outputs this HAML:
%p
- if condition
%p
%ul
ul text
p text
if text
- else
else text
You can see that everything after the <ul> tag is at the wrong level of indentation for some reason. The - else block ends up being broken, causing a syntax error.
Very strange...
The text was updated successfully, but these errors were encountered:
Using html2haml 2.0 on this snippet:
Outputs this HAML:
You can see that everything after the
<ul>
tag is at the wrong level of indentation for some reason. The- else
block ends up being broken, causing a syntax error.Very strange...
The text was updated successfully, but these errors were encountered: