diff --git a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-expected-html-sections/lib/linter.js b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-expected-html-sections/lib/linter.js index 3287dee52a56..75bb9746aaf3 100644 --- a/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-expected-html-sections/lib/linter.js +++ b/lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-expected-html-sections/lib/linter.js @@ -48,6 +48,9 @@ function getAnchorNode( tree ) { for ( i = 0; i < tree.children.length; i++ ) { node = tree.children[ i ]; + if ( node.type === 'yaml' ) { + continue; + } if ( node.type === 'html' && RE_HTML_COMMENT.test( node.value ) ) { continue; }