htmlbeautifier
htmlbeautifier copied to clipboard
Formatting incorrect when setting attributes
<option <%= link[:selected] ? 'selected' : '' %>>
<%= link[:name] %>
</option>
This code does not get formatted correctly.
Same error also happens for me! Line 5 is indented which should not be the case!

When removing <%= "selected" if condition %>
from line 2 everything works perfect.