Addition unwanted text showing on Blog snippets
Permalink Browser Info Environment
We have used problog to display articles and recipes withinhttp://localfoodsurrey.com
When a link from either the category list or tag cloud is clicked, the displayed blog snippet includes additional unwanted text between the title and description.
crabapple jelly is tops on toast (title)
(unwanted) WIN a Hamper discover the finest local food ........amp........ drink from Surrey and the very best restaurants........ pubs ........amp........ caterers serving delicious local produce........nbsp........ It
(description) Are crabapple trees under-rated for the smaller garden? Think about it ��� they are compact, show an abundance of fragrant, white blossom in the spring and by July, the flowers have been replaced by a plentiful supply of small, green fruit which ripens in t...
http://localfoodsurrey.com/food-articles/crabapple-jelly-is-tops-on...
Everything else works perfectly - we just can't figure out why this happens.
Please help
Regards
Simon
When a link from either the category list or tag cloud is clicked, the displayed blog snippet includes additional unwanted text between the title and description.
crabapple jelly is tops on toast (title)
(unwanted) WIN a Hamper discover the finest local food ........amp........ drink from Surrey and the very best restaurants........ pubs ........amp........ caterers serving delicious local produce........nbsp........ It
(description) Are crabapple trees under-rated for the smaller garden? Think about it ��� they are compact, show an abundance of fragrant, white blossom in the spring and by July, the flowers have been replaced by a plentiful supply of small, green fruit which ripens in t...
http://localfoodsurrey.com/food-articles/crabapple-jelly-is-tops-on...
Everything else works perfectly - we just can't figure out why this happens.
Please help
Regards
Simon
Type: | Discussion |
---|---|
Status: | New |
Hi Chad,
Thanks for the response. However, C5 says we are up to date with version 5.4.2
Any ideas?
Thanks for the response. However, C5 says we are up to date with version 5.4.2
Any ideas?
and if the search block needs updating - how do I do this? Can't see any options.
Chad,
This error is still showing. Please can you advise next steps as I really need to sort this problem/
Thanks
Simon
This error is still showing. Please can you advise next steps as I really need to sort this problem/
Thanks
Simon
again Simon..this is not something I can fix. it doesn't have anything to do with my addon. This is an issue with the Core code search block highlightedMarkup method. it will be fixed in the next release of concrete5 I believe.
however, you can edit the searchblock view (or the blog search view) that you are using, and re-arrange the order of the truncation of the search results:
I did make this correction to the blog search view that will be available next release. But this is not something I can do anything about regarding the standard search block view.
Chad
chad
however, you can edit the searchblock view (or the blog search view) that you are using, and re-arrange the order of the truncation of the search results:
<div class="searchResult"> <p> <?php echo ($currentPageBody ? $currentPageBody .'<br />' : '')?> <?php echo $tt->shortText($this->controller->highlightedMarkup($r->getDescription(),$query))?> <a href="<?php echo $r->getPath(); ?>" class="pageLink"><?php echo $this->controller->highlightedMarkup($r->getPath(),$query)?></a> </p> </div>
I did make this correction to the blog search view that will be available next release. But this is not something I can do anything about regarding the standard search block view.
Chad
chad
I have noticed this probelm on a couple of sites running 5.4.2.2 and latest version of problog
This bug was a known core search block bug in c5.4.2.1. I believe if you update to v5.4.2.2, this is fixed.
Again, this is an issue with the core C5 search block in 5.4.2.1. you will want to update.
ChadStrat