All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

xhtml formatting for search excerpt

cityllama 2 Oct 2013 19:08 question, complete

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

  1. 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.

  2. cityllama 2 Oct 2013 21:19

    That makes sense. Thanks.