diff --git a/doc/functions/html_attr.rst b/doc/functions/html_attr.rst
index db370cb9f..1b3b8d37a 100644
--- a/doc/functions/html_attr.rst
+++ b/doc/functions/html_attr.rst
@@ -3,7 +3,7 @@
.. _html_attr:
-.. versionadded:: 3.23
+.. versionadded:: 3.24
The ``html_attr`` function was added in Twig 3.24.