Skip to content

text/template: document newlines in action delimeters #51872

@benjaminjkraft

Description

@benjaminjkraft

The Go 1.16 release notes say

Newlines characters are now allowed inside action delimiters, permitting actions to span multiple lines.

But the text/template documentation says

Except for raw strings, actions may not span newlines, although comments can.

It looks like the latter needs an update for #29770?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions