- Fixes and issue with lists not retaining links and other HTML content

This commit is contained in:
Vlad
2016-04-27 21:22:39 -04:00
parent 1b7ac62b5c
commit ca2f16970b

View File

@@ -112,7 +112,7 @@ class Text {
if(!$lists->count()) return $html;
foreach($lists as $list) {
if($list->tag === 'li') {
$list->setInnertext($list->text());
$list->setInnertext($list->html());
$list->class = 'mailpoet_paragraph';
} else {
$list->class = 'mailpoet_paragraph';