]> Cypherpunks repositories - gostls13.git/commit
text/template: allow newlines in raw quotes
authorRob Pike <r@golang.org>
Thu, 30 Apr 2015 19:11:35 +0000 (12:11 -0700)
committerRob Pike <r@golang.org>
Fri, 1 May 2015 01:07:43 +0000 (01:07 +0000)
commit042200145fbf994e3fcbfa87e75b10d042867b3a
treea915f6a65dabe237262f3ce77d4186c96cb84322
parentcf3ac26a4c79ec53a8a5161f15cc91ab75b3ac46
text/template: allow newlines in raw quotes

This was disallowed for error-checking reasons but people ask for
it, it's easy, and it's clear what it all means.

Fixes #7323.

Change-Id: I26542f5ac6519e45b335ad789713a4d9e356279b
Reviewed-on: https://go-review.googlesource.com/9537
Reviewed-by: Russ Cox <rsc@golang.org>
src/text/template/doc.go
src/text/template/exec_test.go
src/text/template/parse/lex.go
src/text/template/parse/lex_test.go