Fix typo
[MAILPOET-2887]
This commit is contained in:
@ -7,8 +7,8 @@ use MailPoet\Newsletter\Renderer\Blocks\Renderer as BlocksRenderer;
|
|||||||
use MailPoet\WooCommerce\TransactionalEmails;
|
use MailPoet\WooCommerce\TransactionalEmails;
|
||||||
|
|
||||||
class Preprocessor {
|
class Preprocessor {
|
||||||
const WC_HEADING_PLACEHOLDER = '[mailpet_woocommerce_heading_placeholder]';
|
const WC_HEADING_PLACEHOLDER = '[mailpoet_woocommerce_heading_placeholder]';
|
||||||
const WC_CONTENT_PLACEHOLDER = '[mailpet_woocommerce_content_placeholder]';
|
const WC_CONTENT_PLACEHOLDER = '[mailpoet_woocommerce_content_placeholder]';
|
||||||
|
|
||||||
const WC_HEADING_BEFORE = '
|
const WC_HEADING_BEFORE = '
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-spacing:0;mso-table-lspace:0;mso-table-rspace:0">
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-spacing:0;mso-table-lspace:0;mso-table-rspace:0">
|
||||||
|
@ -31,7 +31,7 @@ class PreprocessorTest extends \MailPoetUnitTest {
|
|||||||
'blocks' => [
|
'blocks' => [
|
||||||
[
|
[
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'text' => Preprocessor::WC_HEADING_BEFORE . '<h1 style="color:{base_text_color};">[mailpet_woocommerce_heading_placeholder]</h1>' . Preprocessor::WC_HEADING_AFTER,
|
'text' => Preprocessor::WC_HEADING_BEFORE . '<h1 style="color:{base_text_color};">[mailpoet_woocommerce_heading_placeholder]</h1>' . Preprocessor::WC_HEADING_AFTER,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -56,7 +56,7 @@ class PreprocessorTest extends \MailPoetUnitTest {
|
|||||||
'blocks' => [
|
'blocks' => [
|
||||||
[
|
[
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'text' => '[mailpet_woocommerce_content_placeholder]',
|
'text' => '[mailpoet_woocommerce_content_placeholder]',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user