Skip to content
Snippets Groups Projects
Commit 56e43a3c authored by Thabo Bals's avatar Thabo Bals Committed by Cedric Greiten
Browse files

Fix please

parent 23e4da4d
No related branches found
No related tags found
1 merge request!121Fix please
...@@ -376,8 +376,8 @@ function extractHeaderMeta(token: Token): Map<string, string> { ...@@ -376,8 +376,8 @@ function extractHeaderMeta(token: Token): Map<string, string> {
return new Map(token.attrs); return new Map(token.attrs);
} }
function _extractMainClass(token: Token): string | undefined { function _extractMainClass(token: Token) {
return token.type.match(/^container_(\S+)_open$/g)?.[1]; return [...token.type.matchAll(/^container_(\S+)_open$/g)]?.[0]?.[1];
} }
function _extractBase( function _extractBase(
......
Subproject commit 1f1dbdfdfee3044e7921c0e57334a43493f298fd Subproject commit a9f04beb055f6dbcdcb35047633d7d938ae907f7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment