Hi,
When using the function printLatestImages() or printLatestImagesByDate() in my theme, and setting a limit to the description length, html tags that were open at the character limit remain opened after the function is done, affecting the rest of the layout.
I have temporarily solved this by changing in image_album_statistics.php line 445.
From:
echo "<p>".truncate_string($image->getDesc(), $desclength)."</p>";
To:
echo "<p>".truncate_string(strip_tags($image->getDesc()), $desclength)."</p>";
If this is normally done without modifying the core, please let me know. Realize I want my full descriptions to at least accept certain tags (strong, em,...).
If there is no other way to do that, then let it be a temporary solution for whomever has the same problem.
Comments
Probably we just forgot that it didn't already. We will change that.