xhtml formatting for search excerpt
My results page is displaying the entry excerpt with {low_search_excerpt}. The field it is tied to, custom field {description} has formatting set to XHTML. {low_search_excerpt} seems to be ignoring that.
I've looked and searched for an answer but did not find anything. What am I missing?
Replies
Low 2 Oct 2013 20:44
That is working as designed. The excerpt is the formatted field, but then stripped from tags and truncated. Possibly the keywords are highlighted. This is also how the native search excerpt works (or even Google search excerpts).
If you want the regular formatted value, just use the field itself, as you would in the channel:entries tag.
cityllama 2 Oct 2013 21:19
That makes sense. Thanks.