about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docs/index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html
index 56d1917e2b6..1af43510398 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -155,7 +155,9 @@
                     head: val[0].text,
                     value: val,
                     stable: val.some((elem) => {
-                      return !!elem.text && elem.text.includes("**Stable**: Yes")
+                      return elem.type === "list" &&
+                        !!elem.raw &&
+                        elem.raw.includes("**Stable**: Yes");
                     }),
                     text: val.reduce((result, next) => {
                       return next.text != null
@@ -188,4 +190,4 @@
             }
         </script>
     </body>
-</html>
\ No newline at end of file
+</html>