static/frontend/homepage: fix example search link
The query string text is automatically escaped with safehtml. Removed
redundant escape call.
Change-Id: I641dd5f4884aa54d72a47879aaf51d8e3b7d0e95
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/351571
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/static/frontend/homepage/homepage.tmpl b/static/frontend/homepage/homepage.tmpl
index 72a78ef..0bb8e43 100644
--- a/static/frontend/homepage/homepage.tmpl
+++ b/static/frontend/homepage/homepage.tmpl
@@ -53,8 +53,8 @@
<li class="go-Carousel-slide" {{if not (eq $.TipIndex $i)}}aria-hidden{{end}}>
<p>
<strong>Tip:</strong> {{.Text}}
- <a href="/search?q={{queryescape $v.Example1}}">“{{$v.Example1}}”</a> or
- <a href="/search?q={{queryescape $v.Example2}}">“{{$v.Example2}}”</a>.
+ <a href="/search?q={{$v.Example1}}">“{{$v.Example1}}”</a> or
+ <a href="/search?q={{$v.Example2}}">“{{$v.Example2}}”</a>.
<a href="/search-help" target="_blank" rel="noopener" class="Homepage-helpLink">
Search help <span><img width="24" height="24" src="/static/shared/icon/launch_gm_grey_24dp.svg" alt=""></span>
</a>