aboutsummaryrefslogtreecommitdiff
path: root/_content/doc/tutorial
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2022-03-28 13:17:51 -0400
committerDmitri Shuralyov <dmitshur@google.com>2022-03-29 20:34:17 +0000
commita4d623c5b76ce35bfd0eb345a26a74028ff7e1d1 (patch)
tree7143d0f1a4ba8587d202c97413226663a9a960b4 /_content/doc/tutorial
parent3e68d98e976ddf7bd9c45a449ad9fd107653985d (diff)
downloadgo-x-website-a4d623c5b76ce35bfd0eb345a26a74028ff7e1d1.tar.xz
cmd/golangorg, _content/talks: restore talks that use .html command
Invoke the template named "html" using the usual html/template way instead of invoking it as a function (via the tmplfunc package) to work around https://github.com/rsc/tmplfunc/issues/1. The package golang.org/x/tools/present imports "html/template" from the standard library, so its HTML.HTML field of type template.HTML isn't understood to be content from a trusted source by the internal backported copy. Use type aliases for those special types to fix that. Fixes golang/go#51989. Updates rsc/tmplfunc#1. Change-Id: Ib9609f41b17407e297ea3bb111f346188aa7a9b0 Reviewed-on: https://go-review.googlesource.com/c/website/+/396234 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Trust: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Diffstat (limited to '_content/doc/tutorial')
0 files changed, 0 insertions, 0 deletions