From: Rob Pike Date: Mon, 20 Jun 2016 22:39:03 +0000 (-0700) Subject: text/template: clarify the default formatting used for values X-Git-Tag: go1.7rc1~76 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=86b031018550ff1848ebe7c471c54c5a58fb1a3d;p=gostls13.git text/template: clarify the default formatting used for values Fixes #16105. Change-Id: I94467f2adf861eb38f3119ad30d46a87456d5305 Reviewed-on: https://go-review.googlesource.com/24281 Reviewed-by: Andrew Gerrand --- diff --git a/src/text/template/doc.go b/src/text/template/doc.go index 48e9aa7395..fe59e3f74e 100644 --- a/src/text/template/doc.go +++ b/src/text/template/doc.go @@ -74,8 +74,9 @@ data, defined in detail in the corresponding sections that follow. /* {{pipeline}} - The default textual representation of the value of the pipeline - is copied to the output. + The default textual representation (the same as would be + printed by fmt.Print) of the value of the pipeline is copied + to the output. {{if pipeline}} T1 {{end}} If the value of the pipeline is empty, no output is generated;