Loading
Leave the root hero.svg out of a remote page's plates
What does this MR do and why?
I want a docs site that reads a conforming profile to build, because its README opens with the root hero.svg, whose <style> block stops the build. The loader now leaves that one image out; every other SVG is still a plate.
flowchart LR
A["Standalone SVG image"] --> B{"Root hero.svg?"}
B -->|yes| C["Left out, logged"]
B -->|no| D{"Sanitizer clean?"}
D -->|yes| E["Inline plate"]
D -->|no| F["Build stops"]References
None.
Standards affected
None.
Exemption implications
None.
Test plan
-
just guard,just validate,just check,just build,just agentand the template'sastro checkpass. - Mocked repository: hero left out, clean plate inlined, unreferenced styled SVG untouched; build passes.
- A styled plate, or a styled
sub/hero.svg, still stops the build. - The same repository on
mainstops onhero.svg. - Not tested: a live GitLab project.
An AI tool wrote this change and ran the checks above.