Hey,
I don’t know why this is not a default output filter as it’s a very nice enhancement.
So you have to create your own output filter (or better use a snippet instead which is faster):
create a snippet "cutWordsTags":
<?php
$output = '';
$input = strip_tags($input,'<p><br><br /><a>');
if (!empty($input) && !empty($options)) {
if (strlen($input) > $options) {
$output = substr($input, 0, strrpos(substr($input, 0, $options), ' '));
} else $output = $input;
}
return $output.' (…)'; // sorry please change here with ' and semicolon the and sharp 38 semicolon is not intended and inserted by forum?
and call it via:
[[cutWordsNoTags? &input=`[[+content]]` &options=`750`]]