Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
fix: do not only search in direct childrens for blogAreaSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Aug 15, 2020
1 parent 81fc817 commit a231bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/scully-plugin-toc/src/lib/toc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const tocPlugin = async (html: string, routeData: HandledRoute) => {
);
} else {
selector += tocConfig.blogAreaSelector
? `${tocConfig.blogAreaSelector}>${lowerCased},`
? `${tocConfig.blogAreaSelector} ${lowerCased},`
: `${lowerCased},`;
}
});
Expand Down

0 comments on commit a231bc0

Please sign in to comment.