Skip to content

Multiline strings inside blocks keep indenting more (bug) #66

@mikker

Description

@mikker

Consider this example:

<%= component_page do %>
  <%= code_example "
    Text          
  " %>
<% end %>

On each save, Text gets indented another level:

<%= component_page do %>
  <%= code_example "
      Text          
    " %>
<% end %>

<!-- and... -->

<%= component_page do %>
  <%= code_example "
        Text          
      " %>
<% end %>

I'd love to provide a PR but could really use a pointer for where to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    looking for contributionsThis issue was accepted and is looking for a pull-request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions