We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25046
    • 194 Posts
    ajaxSearch is working pretty good for me but I have some problem with the Extract function which seems to extract far too much content. Not only that, but it extracts content with the original formatting and line breaks which makes for very long and confusing results layout. Is there any way to exert some control over these results and perhaps strip out the formatting and line breaks? Thanks
      • 5811
      • 1,717 Posts
      Hi Rick,

      Look at : http://modxcms.com/forums/index.php/topic,21047.msg131100.html#msg131100 and let me know it this fix solve your issue.

      The PrepareSearchContent function should strip line breaks and html tags. If not, i will be interested to have a bit of your html code to reproduce the defect. Thanks.