diff --git a/src/checks/observability/markdown-content-parity.ts b/src/checks/observability/markdown-content-parity.ts index 475bab2..2be21c7 100644 --- a/src/checks/observability/markdown-content-parity.ts +++ b/src/checks/observability/markdown-content-parity.ts @@ -1,4 +1,4 @@ -import { parse } from 'node-html-parser'; +import { parse, NodeType, type HTMLElement, type Node } from 'node-html-parser'; import { registerCheck } from '../registry.js'; import { fetchPage } from '../../helpers/fetch-page.js'; import { toHtmlUrl } from '../../helpers/to-md-urls.js'; @@ -32,12 +32,9 @@ const STRIP_TAGS = [ ]; /** - * Tags that were removed at the DOM level (STRIP_TAGS). If these tag names - * appear in `.text` output, they came from entity-decoded content (e.g., - * `<nav>` → `