From 9883d676ed065fae287fadea34b77f62d45330f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lys=C3=BD?= Date: Mon, 31 May 2021 20:47:12 +0200 Subject: [PATCH] Wrap WC content with table [MAILPOET-3638] --- lib/WooCommerce/TransactionalEmails/Renderer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WooCommerce/TransactionalEmails/Renderer.php b/lib/WooCommerce/TransactionalEmails/Renderer.php index 0ef387ad14..7b992e6f25 100644 --- a/lib/WooCommerce/TransactionalEmails/Renderer.php +++ b/lib/WooCommerce/TransactionalEmails/Renderer.php @@ -44,14 +44,14 @@ class Renderer { throw new \Exception("You should call 'render' before 'getHTMLBeforeContent'"); } $html = str_replace(Preprocessor::WC_HEADING_PLACEHOLDER, $headingText, $this->htmlBeforeContent); - return $html . '
'; + return $html . '
'; } public function getHTMLAfterContent() { if (empty($this->htmlAfterContent)) { throw new \Exception("You should call 'render' before 'getHTMLAfterContent'"); } - return '' . $this->htmlAfterContent; + return '
' . $this->htmlAfterContent; } public function prefixCss($css) {