JoomShaper / Helix-Joomla

Helix framework 2 for joomla
http://www.joomshaper.com/helix
12 stars 22 forks source link

Search results show highlight HTML markup in titles #16

Open pepperstreet opened 7 years ago

pepperstreet commented 7 years ago

Hello, maybe the same issue seen in Helix3 and other template frameworks:

Also in HELIX II, the highlighted search results title shows HTML markup. Probably due to escape function in the following view template:

https://github.com/JoomShaper/Helix-Joomla/blob/master/plugins/system/html/com_search/search/default_results.php

Related forum topic: https://www.joomshaper.com/forums/joomla-search-showing-sp-pagebuilder-html-code

heytoufiq commented 7 years ago

Please following the instruction.

  1. Go to the file location and open the default_results.php file templates/shaper_helix3/html/com_search/search/default_results.php
  2. Find out the code
    <?php echo $this->escape($result->title);?>

    And replace with this code

    <?php echo $result->title; ?>

-Thanks

pepperstreet commented 7 years ago

Thanks. Hence we are talking about the Helix II files! I have noticed that there are some extra lines and code regarding "Shortcodes"...