fix(anatomy): V1-2.2 review LOWs, owner export procedure, evidence

Composer check counts url( openings apart from the reader; tab and
newline character references tested; RUST.md sizes and counts of the
final build; owner procedure for Illustrator, Figma and Affinity.
This commit is contained in:
bchanot committed 2026-10-29 17:15:02 +01:00
1 parent a678faaa23
commit f1ef6a466f
9 files changed
+300 -55

No files matched your search

+5 -3
View File
@@ -108,10 +108,12 @@ fn references_scoped(element: &Element, scope: &str) -> bool {
.strip_prefix('#')
.is_some_and(|id| id.starts_with(scope)),
_ if attr.value.to_ascii_lowercase().contains("url(") => {
let targets = url_targets(&attr.value);
// A coarse count that shares no parser with the reader: every `url(` is a target.
let openings = attr.value.to_ascii_lowercase().matches("url(").count();
urls_are_local(&attr.value)
&& url_targets(&attr.value)
.iter()
.all(|id| id.starts_with(scope))
&& openings == targets.len()
&& targets.iter().all(|id| id.starts_with(scope))
}
_ => true,
});