aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-02-19 10:09:20 -0800
committerRobert Griesemer <gri@golang.org>2010-02-19 10:09:20 -0800
commita5c29da313e7e76ce893ad0abd9a045cd7afc126 (patch)
tree50021d9a13975af894c8a84a64b1369f7467a2ff
parent1480ce373e38b1dc6b4c54c083c609ec519acc54 (diff)
downloadgo-a5c29da313e7e76ce893ad0abd9a045cd7afc126.tar.gz
go-a5c29da313e7e76ce893ad0abd9a045cd7afc126.zip
remove absolute paths from search results
R=adg CC=golang-dev https://golang.org/cl/216053
-rw-r--r--lib/godoc/search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/godoc/search.html b/lib/godoc/search.html
index a6b7fe29cd..3d417aa271 100644
--- a/lib/godoc/search.html
+++ b/lib/godoc/search.html
@@ -26,7 +26,7 @@
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
- <a href="{File.Path|url-src}?h={Query|html-esc}#L{@|infoLine}">{File.Path|html}:{@|infoLine}</a>
+ <a href="{File.Path|url-src}?h={Query|html-esc}#L{@|infoLine}">{File.Path|url-src}:{@|infoLine}</a>
<pre>{@|infoSnippet}</pre>
{.end}
{.end}
@@ -38,7 +38,7 @@
{.repeated section @}
<h3 id="Local_{Pak.Path|url-pkg}">package <a href="{Pak.Path|url-pkg}">{Pak.Name|html}</a></h3>
{.repeated section Files}
- <a href="{File.Path|url-src}?h={Query|html-esc}">{File.Path|html}</a>
+ <a href="{File.Path|url-src}?h={Query|html-esc}">{File.Path|url-src}</a>
<table class="layout">
{.repeated section Groups}
<tr>