I'm trying to generate an excerpt of the content field (redactor type). With regular text it works fine, however a copy and paste of a word document which generates a fair amount of code causes problems when I try to truncate the content output.

This code will display the 2 fields with straight text correctly but display nothing for the one with code:

{ entries:listing folder="blog" limit="3" }}
{{ truncate:words limit="20" }} {{content}} {{ /truncate:words }}
{{ /entries:listing }}

This displays nothing for all 3

{ entries:listing folder="blog" limit="3" }}
{{ content|truncate:300 }}
{{ /entries:listing }}

This displays the literal text of just { content }

{ entries:listing folder="blog" limit="3" }}
{{ truncate:words limit="20" }} {content} {{ /truncate:words }}
{{ /entries:listing }}

The last approach I found from this page here: http://support.statamic.com/discussions/general-questions-best-practices/511-truncating-content-by-number-of-words

Any suggestions?