I’ve been away for quite awhile, so not entirely up to date... but wanted to update based on the security fixes. This resulted in a new Ditto which took a few changes (but simple Ditto calls, so nothing to complex).
I didn’t want to use the Introtext instead of Summary because that is being used throughout the site for something else. I believe display now replaces summarize, and I changed startID to parents. I’ve even tried removing the trunc parameters, but still issues.
At first I thought it was due to images, where the closing / & > were being left off, but now I’ve seen where code from a link gets cut off and I’m seeing:
<p>Some text about something <a href="http://www.</p>
Below is the Ditto call:
[[Ditto? &parents=`70` &depth=`3` &display=`10` &tpl=`DittoNewsSummaryTpl` &trunc=`1` &truncLen=`300` &truncOffset=`30` &extenders=`summary`]]
The DittoNewSummaryTpl:
<div class="dittoSummary clearfix">
<h2><a href="[~[+id+]~]">[+longtitle+]</a></h2>
<div>[+summary+]</div>
<strong class="fltR"><em><a href="[~[+id+]~]" rel="nofollow">Read more...</a></em></strong>
</div>
Any thoughts, previous posts that solve this, or is this a code bug?
Thanks