diff --git a/doc/filters/inky_to_html.rst b/doc/filters/inky_to_html.rst
index 0ee1e6784..5462b572d 100644
--- a/doc/filters/inky_to_html.rst
+++ b/doc/filters/inky_to_html.rst
@@ -24,17 +24,17 @@ You can also use the filter on an included file:
.. note::
- The ``inky_to_html`` filter is part of the ``CssInlinerExtension`` which is not
+ The ``inky_to_html`` filter is part of the ``InkyExtension`` which is not
installed by default. Install it first:
.. code-block:: bash
- $ composer req twig/cssinliner-extra
+ $ composer req twig/inky-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
- use Twig\Extra\CssInliner\CssInlinerExtension;
+ use Twig\Extra\Inky\InkyExtension;
$twig = new \Twig\Environment(...);
- $twig->addExtension(new CssInlinerExtension());
+ $twig->addExtension(new InkyExtension());
diff --git a/extra/inky-extra/README.md b/extra/inky-extra/README.md
index 72d185028..ec8b18419 100644
--- a/extra/inky-extra/README.md
+++ b/extra/inky-extra/README.md
@@ -3,6 +3,6 @@ Twig Inky Extension
This package is a Twig extension that provides the following:
- * [`inky`][1] filter: processes an [inky email template](https://github.com/zurb/inky).
+ * [`inky_to_html`][1] filter: processes an [inky email template](https://github.com/zurb/inky).
[1]: https://twig.symfony.com/inky