Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
text/template: support delimiters that can be confused with actions
In fields that start with the same character as the right delimiter, the whole delimiter needs to be checked. The first character alone is not sufficient. Fixes #52165 Change-Id: I1e4086048417693757f34d0e9ff3bf86aba0d35c Reviewed-on: https://go-review.googlesource.com/c/go/+/398475 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Rob Pike <[email protected]> Trust: Ian Lance Taylor <[email protected]>
- Loading branch information