Skip to content

text/template: add support for optional comment argument in {{end}} tag #12318

@bruth

Description

@bruth

Such as {{end "loop"}}. The motivation is to make it easier to read where an action ends when there are many. All endable actions close with a generic {{end}} rather than {{endif}} and {{endwith}}, it makes it difficult to read which {{end}} goes with what action.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions