Skip to content

fix: strip nested child config recursively at assembly - #474

Open
Devil1716 wants to merge 1 commit into
enscribejs:mainfrom
Devil1716:fix/472-recursive-child-config-strip
Open

fix: strip nested child config recursively at assembly#474
Devil1716 wants to merge 1 commit into
enscribejs:mainfrom
Devil1716:fix/472-recursive-child-config-strip

Conversation

@Devil1716

Copy link
Copy Markdown

Summary

Fixes #472

Test plan

  • node -e "import('./test/child-config-strip.test.js').then(m => m.run())" in packages/enscribe

Top-level CHILD_STRIP_APPARATUS left nested config inside section.content intact, and config-discovery still read it as document config. Recurse the strip so the master-only rule holds everywhere. Fixes enscribejs#472.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Nested <config> inside a chapter file's section survives assembly — an undesigned live config channel

1 participant