diff --git a/_layouts/docs.html b/_layouts/docs.html
index d72e288223..7cf5f41bd8 100644
--- a/_layouts/docs.html
+++ b/_layouts/docs.html
@@ -152,7 +152,7 @@
{% for tab in page.ui_tabs %}
-
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version ui="true" %}{% endcapture %}{{ thistab | split: "---" | last | markdownify }}
{% endfor %}
+
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version ui="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "" | markdownify }}
{% endfor %}
{% endif %}
@@ -164,7 +164,7 @@
{% for tab in page.cli_tabs %}
-
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version cli="true" %}{% endcapture %}{{ thistab | split: "---" | last | markdownify }}
{% endfor %}
+
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version cli="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "" | markdownify }}
{% endfor %}
{% endif %}
@@ -176,7 +176,7 @@
{% for tab in page.api_tabs %}
-
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version api="true" %}{% endcapture %}{{ thistab | split: "---" | last | markdownify }}
{% endfor %}
+
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version api="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "" | markdownify }}
{% endfor %}
{% endif %}