strip tags

master
Marek Isalski 6 years ago
parent 0dd7067afb
commit 9116cc02e3

@ -11,7 +11,7 @@
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \a\t ga' );
?></small></h3>
<blockquote>
<?php print text_summary( $mailshot['campaign']['d']['body'], 'full_html' ); ?>
<?php print strip_tags( preg_replace( '/\{\{[^\{]*\}\}/', '&hellip;', text_summary( $mailshot['campaign']['d']['body'], 'full_html' ) ) ); ?>
<?php foreach ( $mailshot['_view_urls']['text/html'] as $k => $v ): ?>
<p><a href="<?php print check_plain($v); ?>" target="_blank">read more&hellip;</a></p>
<?php endforeach; ?>

Loading…
Cancel
Save