Stripping HTML
skixo opened this issue · comments
Should it be stripping formatting? If so can we get an option to turn this off?
This has been my temporary solution, i've commented out the original there just for future reference.
<?php if ($widget->get('show_content')) : ?>
<!-- <p>
<?= /* $app['string.truncate'](($post->excerpt ? $post->excerpt : $post->content), $widget->get('content_length')) */ ?>
</p> -->
<?= ($post->excerpt ? $post->excerpt : $post->content) ?>
<?php endif; ?>
Edit: I should add this is in the bixie/blogposts/views/widgets/list.php file, although also works in the grid.php view.