From efb1443e8a7bd933aa6fb7d2e3f2db9aaceb985b Mon Sep 17 00:00:00 2001
From: Benjamin Franzke <bfr@qbus.de>
Date: Tue, 29 Dec 2015 07:35:47 +0100
Subject: [PATCH] [BUGFIX] indexed_search/template_css: Remove useless &nbsp;
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The seachword input field has &nbsp; appended. It's not clear why
that was ever needed. But it's kinda useless and requires quite some
css hacks to hide that, if the label and input field are inlined.

Change-Id: I0387e46c2b0e9f8ae2e9a174cf042b6d4972f18b
Releases: master, 7.6
Resolves: #78727
Reviewed-on: https://review.typo3.org/50685
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Tested-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 .../Resources/Private/Templates/template_css.tmpl               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/compatibility7/Resources/Private/Templates/template_css.tmpl b/typo3/sysext/compatibility7/Resources/Private/Templates/template_css.tmpl
index 2cb0f45158c3..64c57bfc7fd1 100644
--- a/typo3/sysext/compatibility7/Resources/Private/Templates/template_css.tmpl
+++ b/typo3/sysext/compatibility7/Resources/Private/Templates/template_css.tmpl
@@ -31,7 +31,7 @@
 
 		<div class="tx-indexedsearch-form">
 			<label for="tx-indexedsearch-searchbox-sword">###FORM_SEARCHFOR###</label>
-			<input type="search" name="tx_indexedsearch[sword]" value="###SWORD_VALUE###" id="tx-indexedsearch-searchbox-sword" class="tx-indexedsearch-searchbox-sword sword" ###PLACEHOLDER### />&nbsp;
+			<input type="search" name="tx_indexedsearch[sword]" value="###SWORD_VALUE###" id="tx-indexedsearch-searchbox-sword" class="tx-indexedsearch-searchbox-sword sword" ###PLACEHOLDER### />
 		</div>
 
 		<!-- ###ADDITONAL_KEYWORD### begin -->
-- 
GitLab