Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

$Content.LimitWordCountXML adding 'br' tags


Reply


3 Posts   1372 Views

Avatar
mitel

Community Member, 1 Post

13 August 2010 at 5:32pm

How can I stop 'LimitWordCountXML' from generating a HTML 'br' tag whenever it comes upon a double 'br' tag in the page content?
I am not concerned if the page content is split on a half word, I just need the search results to flow across the entire width of my HTML container element and not keep having a 'br' tag after every few words which creates a very narrow column.
Thanks.

Avatar
Marcel

Community Member, 1 Post

9 March 2011 at 3:49am

I am using $Content.LimitWordCount and not $Content.LimitWordCountXML and this will return the content without the <br /> tags

Avatar
BenWu

Community Member, 90 Posts

10 July 2012 at 9:36pm

i was looking for this. Thank you.

The tutorial of site search by SS uses $Content.LimitWordCountXML and therefore we follow