I have a news summary that looks like this:
Code: Select all
{if $entry->content}
<div class="newstext">
{eval var=$entry->content|truncate:100}
<p><a class="readmore" href="{$entry->moreurl}">read more →</a></p>
</div>
{/if}
Code: Select all
<div class="newstext">
<p>As part of our commitment to ensure you reach your personal Health Goals, (company name) have...
<p><a class="readmore" href="#thelink">read more →</a></p>
</div>
Anybody have an idea how to make it NOT truncate the trailing </p> tag? I've looked everywhere!
Thanks in advance.