Skip to content

Long inline missing <% end %> #15

@lamp-town-guy

Description

@lamp-town-guy

A very weird stuff happened when I tried to format one very long line of code. I tested it and it works as a part of a file as well as the line by itself in a single file.

<span class="text-gray-900 font-medium hover:text-gray-600 transition ease-in-out duration-150"><%= item.name %> <%= if item.is_billable do %> <i class="fas fa-dollar-sign"></i> <% end %></span>

This is the result with missing <% end %>.

<span class="text-gray-900 font-medium hover:text-gray-600 transition ease-in-out duration-150"><%= item.name %>
    <%= if item.is_billable do %>
        <i class="fas fa-dollar-sign"></i> </eext2
></span>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions