Merge PR #1236 branch 'dhruvgoel92/ticket/11359' into develop

# By Dhruv
# Via Dhruv
* dhruvgoel92/ticket/11359:
  [ticket/11359] html escape sphinx config data
  [ticket/11359] add id attribute to textarea
  [ticket/11359] close span
[ticket/11179] add search query in case initial one fails

changes the start parameter according to the total search results and
executes the search query again to get the results.

PHPBB3-11179
[ticket/11179] correct the start parameter while retrieving from cache

Start parameter if not between 0 and the total result count of the cached
search results is changed accordingly

PHPBB3-11179
[ticket/11179] pass start parameter by reference

start parameter is passed by reference so that in case it is not in bounds
the changes made to it are reflected back to the phpBB/search.php file

PHPBB3-11179
[ticket/11179] use FOUND_ROWS query to re-search with changed start param

PHPBB3-11179
[ticket/11179] correct start parameter for author search

PHPBB3-11179
[ticket/11179] pass start param by reference in author search

PHPBB3-11179
[ticket/11179] correct start parameter in psql keyword search

PHPBB3-11179
[ticket/11179] correct start param in author search of postgres

PHPBB3-11179
[ticket/11179] pass start param by reference in postgres

PHPBB3-11179
[ticket/11179] minor fixes

Amends comments to start with capitals. Reinsert blank lines which were
not supposed to be removed

PHPBB3-11179
[ticket/11179] fix success query path for mysql

Additional query to check start parameter executed only incase of no
results.

PHPBB3-11179
[ticket/11179] fix success query path for postgres

Additional query to check start parameter executed only incase of no
results.

PHPBB3-11179
[ticket/11179] correct start parameter in native keyword search

PHPBB3-11179
[ticket/11179] correct start parameter in native author search

PHPBB3-11179
[ticket/11179] correct start parameter in sphinx search

PHPBB3-11179
[ticket/11179] remove extra & in function call

PHPBB3-11179