diff --git a/src/docs/asciidoc/core/core-appendix.adoc b/src/docs/asciidoc/core/core-appendix.adoc
index 9a2a250301e0..ce31eb55131a 100644
--- a/src/docs/asciidoc/core/core-appendix.adoc
+++ b/src/docs/asciidoc/core/core-appendix.adoc
@@ -242,7 +242,7 @@ The following example shows a path being used against another bean, by name:
[source,xml,indent=0,subs="verbatim,quotes"]
----
- // target bean to be referenced by name
+
@@ -252,7 +252,7 @@ The following example shows a path being used against another bean, by name:
- // results in 11, which is the value of property 'spouse.age' of bean 'person'
+
diff --git a/src/docs/asciidoc/languages/dynamic-languages.adoc b/src/docs/asciidoc/languages/dynamic-languages.adoc
index 8464f980cac1..b2f88f4a3626 100644
--- a/src/docs/asciidoc/languages/dynamic-languages.adoc
+++ b/src/docs/asciidoc/languages/dynamic-languages.adoc
@@ -462,7 +462,7 @@ The following bean definition uses the calculator defined in Groovy:
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
- <-- from the file 'beans.xml' -->
+