From b243dd2716602bb66b5e4377c4fd7c1b6e710058 Mon Sep 17 00:00:00 2001
From: Michael Klier <chi@chimeric.de>
Date: Thu, 25 Jan 2007 00:21:13 +0100
Subject: [PATCH] added missing with/height attributes to opensearch image tag

darcs-hash:20070124232113-23886-5fdea45dec232c6a94995d83439f1c05beb33c6e.gz
---
 lib/exe/opensearch.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/exe/opensearch.php b/lib/exe/opensearch.php
index 85087a80c..fe0b8583f 100644
--- a/lib/exe/opensearch.php
+++ b/lib/exe/opensearch.php
@@ -29,7 +29,7 @@ header('Content-Type: application/opensearchdescription+xml; charset=utf-8');
 echo '<?xml version="1.0"?>'.NL;
 echo '<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">'.NL;
 echo '  <ShortName>'.htmlspecialchars($conf['title']).'</ShortName>'.NL;
-echo '  <Image type="image/x-icon">'.$ico.'</Image>'.NL;
+echo '  <Image width="16" height="16" type="image/x-icon">'.$ico.'</Image>'.NL;
 echo '  <Url type="text/html" template="'.DOKU_URL.DOKU_SCRIPT.'?do=search&amp;id={searchTerms}" />'.NL;
 echo '  <Url type="application/x-suggestions+json" template="'.
         DOKU_URL.'lib/exe/ajax.php?call=suggestions&amp;q={searchTerms}" />'.NL;
-- 
GitLab