From ca2f16970b390167df2dcefabce56f280cd7f9d0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 27 Apr 2016 21:22:39 -0400 Subject: [PATCH] - Fixes and issue with lists not retaining links and other HTML content --- lib/Newsletter/Renderer/Blocks/Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Newsletter/Renderer/Blocks/Text.php b/lib/Newsletter/Renderer/Blocks/Text.php index 8067124877..0ef7ba5ff7 100644 --- a/lib/Newsletter/Renderer/Blocks/Text.php +++ b/lib/Newsletter/Renderer/Blocks/Text.php @@ -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';