Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Newline & whitespace rendering bug #242

Description

@mtodd

So I've noticed this happening intermittently. Not sure what causes it.

The file looks fairly normal: UTF-8 encoding, just \n and spaces. The file:

# See https://github.com/github/security/issues/63 for more details.

module ActiveModel
  module MassAssignmentSecurity
    class PermissionSet
      def remove_multiparameter_id(key)
        key.to_s.gsub(/\(.+/m, '')
      end
    end
  end
end

However, it is rendered with all the ends starting at the beginning of the lines.

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