HTML tags in Search

September 2015 Joomla Template
GK User
Mon Aug 07, 2017 9:28 am
Hi
I'm not sure if this is a template issue at all, in fact, but a standard search in Joomla now displays HTML tags instead of the highlighted result, see below;
<span class="highlight">microsoft</span> Surface 3
I am getting this on sites using the Technews template, but it happens on your demo site as well, which is where this search result came from.
I have done a quick Google search on this, but results a bit too technical for me I'm afraid. It looks like it could be a Joomla bug? Can you help?
Thanks
User avatar
Expert Boarder

teitbite
Sun Aug 13, 2017 11:09 am
Hi

Please try rename /html/com_search/search/default_results.php to _default_results.php

Let me know if it helped.
User avatar
Moderator

GK User
Mon Aug 14, 2017 4:46 pm
Hi
Yes, many thanks, worked brilliantly.
However, I'm wondering what happens on upgrading the template? Will I have to rename this file again?
Thanks
User avatar
Expert Boarder

teitbite
Sat Aug 19, 2017 12:00 pm
Hi

I'm afraid yes, but I always suggest to follow the update logs https://www.gavick.com/updates and only replace mentioned files.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.