summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-19 17:07:16 -0700
committerRobert Griesemer <gri@golang.org>2010-03-19 17:07:16 -0700
commitb77d9471ccbebfb24e52f93d5febfebac971c9ef (patch)
treee037434e64d75a99b5c02ae05e8fca4af2873f37 /lib
parent3d1586c67b35060e226701b9ef36f1353c2a5378 (diff)
downloadgolang-b77d9471ccbebfb24e52f93d5febfebac971c9ef.tar.gz
godoc: proper file path conversion for remote search
R=rsc CC=golang-dev http://codereview.appspot.com/664041
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/search.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/godoc/search.txt b/lib/godoc/search.txt
index 46f7ae478..5724da404 100644
--- a/lib/godoc/search.txt
+++ b/lib/godoc/search.txt
@@ -1,4 +1,5 @@
-QUERY = {Query}
+QUERY
+{Query}
{.section Accurate}
{.or}
@@ -21,7 +22,7 @@ package {Pak.Name}
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
- {File.Path|url-src}:{@|infoLine}
+ {File.Path}:{@|infoLine}
{.end}
{.end}
{.end}
@@ -36,7 +37,7 @@ package {Pak.Name}
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
- {File.Path|url-src}:{@|infoLine}
+ {File.Path}:{@|infoLine}
{.end}
{.end}
{.end}