Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
cmd/golangorg: catch instances of bad escaping due to template use
The {{raw `…`}} sequence is commonly used in Markdown templates to
include a block as is. If such a sequence is used in a Markdown file
while its 'template' field in metadata is accidentally set to off
(the new default value as of go.dev/cl/733500), it gets rendered as
'{{raw <code>' HTML which is almost certainly not what was intended.
It should be possible to catch these in TestAll.
For golang/go#78211.
Change-Id: I7bba708bc41a6421f3aae88e10d30574de7a9294
Files:
- M cmd/golangorg/server_test.go
Change size: XS
Delta: 1 file changed, 3 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Alan Donovan, +1 by Dmitri Shuralyov
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: I7bba708bc41a6421f3aae88e10d30574de7a9294
Gerrit-Change-Number: 746741
Gerrit-PatchSet: 4