diff --git a/Documentation/doc/resources/1.8.20/BaseDoxyfile.in b/Documentation/doc/resources/1.8.20/BaseDoxyfile.in
index f950a6836db..bc0ca527ff2 100644
--- a/Documentation/doc/resources/1.8.20/BaseDoxyfile.in
+++ b/Documentation/doc/resources/1.8.20/BaseDoxyfile.in
@@ -329,7 +329,7 @@ ALIASES = "cgal=%CGAL" \
"cgalDebugEnd=\htmlonly[block] \endhtmlonly" \
"cgalDebugFunction=This is a function for debugging purpose." \
"cgalAdvancedBegin=^^ \htmlonly[block]
Advanced
\endhtmlonly ^^" \
- "cgalAdvancedEnd=\noop ^^ \htmlonly[block]
\endhtmlonly" \
+ "cgalAdvancedEnd=^^ \noop ^^ \htmlonly[block] \endhtmlonly" \
"cgalAdvancedFunction=This is an advanced function." \
"cgalAdvancedClass=This is an advanced class." \
"cgalAdvancedType=This is an advanced type." \
diff --git a/Documentation/doc/resources/1.9.3/BaseDoxyfile.in b/Documentation/doc/resources/1.9.3/BaseDoxyfile.in
index 3fcdb56be68..21d24dd6ecd 100644
--- a/Documentation/doc/resources/1.9.3/BaseDoxyfile.in
+++ b/Documentation/doc/resources/1.9.3/BaseDoxyfile.in
@@ -336,7 +336,7 @@ ALIASES = "cgal=%CGAL" \
"cgalDebugEnd=\htmlonly[block] \endhtmlonly" \
"cgalDebugFunction=This is a function for debugging purpose." \
"cgalAdvancedBegin=^^ \htmlonly[block] Advanced
\endhtmlonly ^^" \
- "cgalAdvancedEnd=\noop ^^ \htmlonly[block]
\endhtmlonly" \
+ "cgalAdvancedEnd=^^ \noop ^^ \htmlonly[block] \endhtmlonly" \
"cgalAdvancedFunction=This is an advanced function." \
"cgalAdvancedClass=This is an advanced class." \
"cgalAdvancedType=This is an advanced type." \