Skip to content

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

@ironsand

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions