Skip to content

text/template: break/continue require no whitespace around them [1.18 backport] #52878

@gopherbot

Description

@gopherbot

@ianlancetaylor requested issue #51670 to be considered for backport to the next 1.18 minor release.

@gopherbot Please open a backport to 1.18.

These new text/template features are new in the 1.18 release, but they have a oddity in that don't permit whitespace. It's probably worth fixing that in 1.18 so that they people don't have to slightly contort their new code until 1.19 comes out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions