Ran some patch updates? Here's how to remove the embarrassing HTML decimal   non-breaking space entity from Joomla! 3.8.8 Stable search results.


Find the offending   by searching for the character, counter-intuitively not within your default components search folder but in the administrator components search folder.

The specific command using grep in the command-line terminal is: grep -R ' ' /usr/share/nginx/html/administrator/components/com_search/

This will return some results one of which will be: /usr/share/nginx/html/administrator/components/com_search/helpers/search.php

Within this file, on or around line 313 you'll find several  ... in the PHP. We are not sure why the Joomla folks elected to use this version as opposed to using the traditional named tag of  .

To "fix", simply enter in a real space by using your space bar so it reads: return (($pos > 0) ? '... ' : '') . StringHelper::substr($text, $pos, $chunk_size) . ' ...';

You will now have normal search result titles without the decimal code just like before you ran the patch.

If you have a website that might be showing its age or experiencing strange symptoms, running a deprecated version of PHP, CMS or database GFIST.com is readily available to assist you at a great value. We love upgrading existing sites or creating fully fledged powerhouses from scratch!

Make the call today; we can be reached by phone at (559) 372-9817, text or email 24-hours, 365 days a year. We also welcome any comments below and are happy to help any fellow tech peeps.


About the Writer
Chris Lessley
Author: Chris Lessley
A server admin, dev ops warrior and website designer since 2002, Chris is a lover of all things Linux and open-source! Each blog topic has been tested by fire in the real world and shared with the hope to help others. Chris' other interests include fine art and the humanities in the classical tradition and can be found writing for our partner-site gripfastartworks.com.

Comments powered by CComment