- Updates list styles

This commit is contained in:
Vlad
2016-04-05 11:07:41 -04:00
parent 32cc5644f9
commit 27edf5f71d
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -63,7 +63,7 @@ class Renderer {
foreach($styles as $selector => $style) {
switch($selector) {
case 'text':
$selector = 'td.mailpoet_paragraph, td.mailpoet_blockquote';
$selector = 'td.mailpoet_paragraph, td.mailpoet_blockquote, li.mailpoet_paragraph';
break;
case 'body':
$selector = 'body, .mailpoet-wrapper';