Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search results show highlight HTML markup in titles #16

Open
pepperstreet opened this issue Oct 25, 2017 · 2 comments
Open

Search results show highlight HTML markup in titles #16

pepperstreet opened this issue Oct 25, 2017 · 2 comments

Comments

@pepperstreet
Copy link

pepperstreet commented Oct 25, 2017

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
Copy link

heytoufiq commented Oct 26, 2017

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
Copy link
Author

pepperstreet commented Oct 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants