"; if (isset($image)) { $image = get_placeholder() ?: $image; echo ""; echo ""; echo ""; }; if (!empty($text)) echo "
" . nl2br(htmlspecialchars(trim($text))) . "
"; if ($links && $links->count()) { echo "";
foreach ($links as $index => $link) {
echo "getAttribute("href")) . "\">" . htmlspecialchars($link->textContent) . "";
if ($index !== count($links) - 1) echo "
";
};
echo "