diff --git a/code/controllers/DocumentationOpenSearchController.php b/code/controllers/DocumentationOpenSearchController.php
index bfd350d..d6575c1 100644
--- a/code/controllers/DocumentationOpenSearchController.php
+++ b/code/controllers/DocumentationOpenSearchController.php
@@ -27,10 +27,10 @@ class DocumentationOpenSearchController extends Controller {
$link = Director::absoluteBaseUrl() .
$data['SearchPageLink'] = Controller::join_links(
$viewer->Link(),
- 'results/?Search={searchTerms}&start={startIndex}&length={count}&action_results=1'
+ 'results/?Search={searchTerms}&start={startIndex}&length={count}&action_results=1'
);
- $data['SearchPageAtom'] = $data['SearchPageLink'] . '&format=atom';
+ $data['SearchPageAtom'] = $data['SearchPageLink'] . '&format=atom';
return $this->customise(
new ArrayData($data)
diff --git a/templates/OpenSearchDescription.ss b/templates/OpenSearchDescription.ss
index c75384e..30ef3b4 100755
--- a/templates/OpenSearchDescription.ss
+++ b/templates/OpenSearchDescription.ss
@@ -6,7 +6,7 @@
<% if Tags %>$Tags<% end_if %>
<% if Contact %>$Content<% end_if %>
- <% if SearchPageLink %><% end_if %>
- <% if SearchPageAtom %><% end_if %>
- <% if SearchPageJson %><% end_if %>
+ <% if SearchPageLink %><% end_if %>
+ <% if SearchPageAtom %><% end_if %>
+ <% if SearchPageJson %><% end_if %>
\ No newline at end of file