From d548d2c9ab0cfdf025718ef7dd7379b76e6b9185 Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Wed, 16 Oct 2019 09:37:06 +0200 Subject: [PATCH] [Mailer] Update documentation to reflect up-to-date package names --- mailer.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mailer.rst b/mailer.rst index 2ab75f258a3..fb3c80545c9 100644 --- a/mailer.rst +++ b/mailer.rst @@ -406,7 +406,7 @@ it with: .. code-block:: terminal - $ composer require twig/cssinliner-extension + $ composer require twig/cssinliner-extra The extension is enabled automatically. To use this, wrap the entire template with the ``inline_css`` filter: @@ -508,14 +508,14 @@ the extension in your application: .. code-block:: terminal - $ composer require twig/inky-extension + $ composer require twig/inky-extra -The extension adds an ``inky`` filter, which can be used to convert parts or the -entire email contents from Inky to HTML: +The extension adds an ``inky_to_html`` filter, which can be used to convert +parts or the entire email contents from Inky to HTML: .. code-block:: html+twig - {% apply inky %} + {% apply inky_to_html %} @@ -532,7 +532,7 @@ You can combine all filters to create complex email messages: .. code-block:: twig - {% apply inky|inline_css(source('@css/foundation-emails.css')) %} + {% apply inky_to_html|inline_css(source('@css/foundation-emails.css')) %} {# ... #} {% endapply %}