diff --git a/cms-ui/apps/ui-core-docs/compile-docs.ts b/cms-ui/apps/ui-core-docs/compile-docs.ts index 6ec9a72d9..58de92ab5 100644 --- a/cms-ui/apps/ui-core-docs/compile-docs.ts +++ b/cms-ui/apps/ui-core-docs/compile-docs.ts @@ -352,5 +352,5 @@ function getAccessModifer(node: ts.Node): AccessModifer { * Remove the `*` and padding from the doc block body. */ function stripStars(body: string): string { - return body.replace(/^\/\*{2}|^\s*\*(\s?)[/]?/mg, '$1').trim(); + return body.replace(/^\/\*{2}|^\s*\*(\s?)[/]?|\*\//mg, '$1').trim(); }