- Fixes and issue with lists not retaining links and other HTML content
This commit is contained in:
@@ -112,7 +112,7 @@ class Text {
|
|||||||
if(!$lists->count()) return $html;
|
if(!$lists->count()) return $html;
|
||||||
foreach($lists as $list) {
|
foreach($lists as $list) {
|
||||||
if($list->tag === 'li') {
|
if($list->tag === 'li') {
|
||||||
$list->setInnertext($list->text());
|
$list->setInnertext($list->html());
|
||||||
$list->class = 'mailpoet_paragraph';
|
$list->class = 'mailpoet_paragraph';
|
||||||
} else {
|
} else {
|
||||||
$list->class = 'mailpoet_paragraph';
|
$list->class = 'mailpoet_paragraph';
|
||||||
|
Reference in New Issue
Block a user