Skip to content

Commit

Permalink
[BUGFIX] Do not double escape html special characters in the searchwo…
Browse files Browse the repository at this point in the history
…rd field. You have to adjust your fluid template, if you use your own and replace {searchword} with {searchword -> f:format.raw()}. https://forge.typo3.org/issues/75407.
  • Loading branch information
christianbltr committed Jul 29, 2016
1 parent 42c467d commit 30d9907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ current master
[TASK] Remove legacy OpenOffice documention (doc/ folder) in favor of a simple README.rst as proposed in https://docs.typo3.org/typo3cms/CoreApiReference/ExtensionArchitecture/Documentation/Index.html.
[TASK] Restructure the flexform plugin configuration for a better overview.
[TASK] Add ke_search_premium fields to "not allowed fields" for ordering because they caused untitled entries in the ordering select box.
[BUGFIX] Do not double escape html special characters in the searchword field. You have to adjust your fluid template, if you use your own and replace {searchword} with {searchword -> f:format.raw()}. https://forge.typo3.org/issues/75407.

Version 2.3.0, July 2016
[!!!] This version requires TYPO3 7.6 and is not compatible with TYPO3 6.2 anymore.
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/SearchForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</f:if>

<div class="kesearchbox">
<input type="text" id="ke_search_sword" name="tx_kesearch_pi1[sword]" value="{searchword}" placeholder="{searchwordDefault}" />
<input type="text" id="ke_search_sword" name="tx_kesearch_pi1[sword]" value="{searchword -> f:format.raw()}" placeholder="{searchwordDefault}" />
<input type="image" id="kesearch_submit" src="typo3conf/ext/ke_search/res/img/kesearch_submit.png" alt="{submitAltText}" class="submit" />
<div class="clearer">&nbsp;</div>
</div>
Expand Down

0 comments on commit 30d9907

Please sign in to comment.