{"version":"2.1.234","anchor":"published-artifacts-verify-their-injected-setup-scripts-can-","canonical_anchor":"published-artifacts-verify-their-injected-setup-scripts-can-","heading":"Published artifacts verify their injected setup scripts can be removed again","tier":"notice","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234\/e\/published-artifacts-verify-their-injected-setup-scripts-can-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234","markdown":"### Published artifacts verify their injected setup scripts can be removed again\n\nPublished pages only bundle highlighting, Mermaid or charts if the injected block can be removed again.\n\n**What**\n\nWhen a published page bundles syntax highlighting, Mermaid diagrams or charts, the publisher now also checks the small setup script it injects alongside the library, and confirms the injected block can be stripped back out of the page afterwards. If it cannot, the injection is refused and the page publishes without it.\n\n**Details**\n\n- Covers the highlight, Mermaid and chart initializer scripts, each checked before it is written into the page.\n- The removability check is what gates the injection; failing it means no injection rather than a failed publish.\n\n**Evidence**\n\n`hljs_block_unstrippable`\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}