Skip to content

fix: normalize nested Markdown heading tags - #22

Merged
fakayser merged 1 commit into
mainfrom
codex/security-hardening
Oct 22, 2026
Merged

fakayser merged 1 commit into
mainfrom
codex/security-hardening

Conversation

@fakayser

@fakayser fakayser commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Markdown heading sanitization could expose another HTML tag after a single replacement, leaving incorrect anchors and a CodeQL finding. Strip innermost tags until the text stops changing, matching the frontend and CLI checkers.

Add regressions for nested, reintroduced and incomplete tags and duplicate heading anchors. Schema definitions and generated model types are unchanged.

Validation on 3c71ddd: Node 24 documentation tests (6 passed) and documentation check (4 Markdown files, zero problems).

Dependency order: merge this PR before CLI PR #49, which already pins this schema commit; frontend PR #65 consumes that combined CLI revision. If squash merging changes the retained commit, update downstream submodule pins accordingly.

@fakayser
fakayser merged commit 002aa65 into main Oct 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant