Hi, I made an change to the RandomContent widget so that it would show only the first paragraph of a page.
The original code
<div class="RandomContentWidget">
<% control RandomContent %>
$Content
<% end_control %>
</div>
Updated to show only the first paragraph of each page
<div class="RandomContentWidget">
<% control RandomContent %>
<p>$Content.FirstParagraph <a href="$Link" title="Read more on "{$Title}"">Read more >></a></p>
<% end_control %>
</div>
Is there a better way to do this (i.e. without using <p> tags)?