From 3cabf7e122579030388528b232c0a4b7b022cf5a Mon Sep 17 00:00:00 2001
From: unknown
Date: Thu, 1 Feb 2024 10:41:24 +0100
Subject: [PATCH] add details to html_classes function
---
doc/functions/html_classes.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/functions/html_classes.rst b/doc/functions/html_classes.rst
index 80bc796e16..3a64e0dae1 100644
--- a/doc/functions/html_classes.rst
+++ b/doc/functions/html_classes.rst
@@ -12,6 +12,14 @@ names together:
'pending': object.pending,
}) }}">How are you doing?
+For this example, knowing that object.errored and object.pending are true, this will render:
+
+.. code-block:: html+twig
+
+
+ How are you doing?
+
+
.. note::
The ``html_classes`` function is part of the ``HtmlExtension`` which is not