diff --git a/kumascript/macros/jsxref.ejs b/kumascript/macros/jsxref.ejs index 83ba7fbbca9e..cb88ad3d207b 100644 --- a/kumascript/macros/jsxref.ejs +++ b/kumascript/macros/jsxref.ejs @@ -29,8 +29,8 @@ const anchor = $2 || ''; const wrap = !$3; let slug = apiName.replace('()', '').replace('.prototype.', '.'); -if (apiName.includes(".") && !apiName.includes("..")) { - // E.g. "Array.filter", but not "try...catch". +if (apiName.includes(".") && !apiName.includes("/")) { + // E.g. "Array.filter", but not "Statements/try...catch". slug = slug.replace('.', '/'); }