Skip to content

Generator of main closing tag is broken if yield has arguments #98

Closed
@martinadamek

Description

@martinadamek

It happens for example in JumpstartRails templates, where one of yields uses is <%= yield :title %>.
Closing </main> tag is not inserted in application.html.erb and the file ends up broken after ./bin/rails tailwindcss:install is executed.

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