summaryrefslogtreecommitdiff
path: root/lib
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
commit8e09ecd8512466092fd1c0dbfff31edf0ad4fd83 (patch)
treebc2a7a4ecf9fa711e4a1049b2d087bd79a4bf824 /lib
parent51b9e93fa73b57ad994672f64a1bbb1d31b75f87 (diff)
downloadgolang-8e09ecd8512466092fd1c0dbfff31edf0ad4fd83.tar.gz
remove absolute paths from search results
R=adg CC=golang-dev http://codereview.appspot.com/216053
Diffstat (limited to 'lib')
-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 a6b7fe29c..3d417aa27 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>