html in post title is showing issue
-
I’m using spans in my product titles and they’re showing up in the instantsearch as well as the search page when using my site. I’ve found the code that shows it but to the life of me can’t work out how to strip html from it.
within autocomplete.php;
<span class="suggestion-post-title"><code>data._highlightResult.post_title.value</code></span>
& instantsearch.php;
<div class="ais-hits--content"> <h2 itemprop="name headline"><a href="{{ data.permalink }}" title="{{ data.post_title }}" class="ais-hits--title-link" itemprop="url"><code>data._highlightResult.post_title.value</code></a></h2>
is there something I’m missing as can’t see many people having this issue,
Many thanks for any help you can give me,
Cheers,
Richie
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘html in post title is showing issue’ is closed to new replies.