diff --git a/src/Templates/default/html/code.html.twig b/src/Templates/default/html/code.html.twig index 47ef451..32e2fc7 100644 --- a/src/Templates/default/html/code.html.twig +++ b/src/Templates/default/html/code.html.twig @@ -1,4 +1,4 @@ -
+
{% if caption %}
{{ caption }}
{% endif %} diff --git a/tests/fixtures/expected/blocks/code-blocks/code-caption.html b/tests/fixtures/expected/blocks/code-blocks/code-caption.html index 62c672b..a4eaf9d 100644 --- a/tests/fixtures/expected/blocks/code-blocks/code-caption.html +++ b/tests/fixtures/expected/blocks/code-blocks/code-caption.html @@ -1,4 +1,4 @@ -
+
config/routes.php
1
@@ -13,7 +13,7 @@
-
+
config/routes.php
1