ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

word_limit format change

November 23, 2010 11:34am

Subscribe [2]
  • #1 / Nov 23, 2010 11:34am

    genehil

    23 posts

    I want to use the word_limit feature to extract the first 15 words out of a text area.  That text area’s formatting is set for XHTML.

    {exp:word_limit total="15"}{art_body}{/exp:word_limit}

    I can get my word_limit code to extract those first 15 words just fine - but it brings the XHTML formatting of the original field with it.

    I would like those 15 extracted words to not have any formatting…

    Is this possible?

  • #2 / Nov 23, 2010 3:14pm

    Ingmar

    29245 posts

    Take a look at some third-party plugins like HTML Strip_or [url=“http://devot-ee.com/add-ons/cleaner/”]Cleaner.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases