Skip to content

rufo breaks =begin =end comment block in erb file #310

Description

@ironsand

When using this kind of comment block, =begin and =end must be at start of the lines.

<%
=begin

This is a comment.

=end
%>

But rufo moves the positions and it seems to break the code.

<% =begin
  
  This is a comment.
  
  =end %>

I simply removed the comment from the template file to fix the issue.
Is it better to avoid using this type of comment?

rufo -v
rufo 0.16.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions