Skip to content

Commit

Permalink
taking html into account on the intro shortening
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed May 26, 2012
1 parent 51217bc commit 7970ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Contents/View/Elements/related_content.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
echo sprintf('<h3>%s</h3>', $data['title']);
?>
</div>
<p class="no-pad"><?php echo String::truncate($data['introduction'], 200); ?></p>
<p class="no-pad"><?php echo String::truncate($data['introduction'], 200, array('html' => true)); ?></p>
<?php
echo $this->Html->link(
Configure::read('Website.read_more'),
Expand Down

0 comments on commit 7970ce8

Please sign in to comment.