diff --git a/_widgets.php b/_widgets.php index ca7c1c4..33118f9 100644 --- a/_widgets.php +++ b/_widgets.php @@ -201,12 +201,13 @@ class enhancePostContentWidget return null; } - return - ($w->content_only ? '' : '
'); + return $w->renderDiv( + $w->content_only, + $w->class, + 'id="epc_' . $w->type .'"', + ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : '') . + ($w->text ? '' . html::escapeHTML($w->text) . '
' : '') . + '