Skip to content
Snippets Groups Projects
Commit d3a02a0f authored by Thabo Bals's avatar Thabo Bals
Browse files

Merge branch 'fixPlease' into 'main'

Fix please

See merge request !122
parents 717e9f8f f7d0067f
Branches
No related tags found
1 merge request!122Fix please
Pipeline #287116 passed
......@@ -376,8 +376,8 @@ function extractHeaderMeta(token: Token): Map<string, string> {
return new Map(token.attrs);
}
function _extractMainClass(token: Token) {
return [...token.type.matchAll(/^container_(\S+)_open$/g)]?.[0]?.[1];
function _extractMainClass(token: Token): string | undefined {
return token.type.match(/^container_(\S+)_open$/)?.[1];
}
function _extractBase(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment