This commit is contained in:
Wojciech Kordalski 2025-05-15 16:00:50 +02:00
parent 314e7a042c
commit 20186c09ac
No known key found for this signature in database
GPG Key ID: 7D83E309C320BD86

View File

@ -669,15 +669,7 @@ impl<'a> Generator<'a> {
let supplement = child.supplement(StyleChain::default());
let locator = supplement.as_ref().map(|c| {
// let mut hasher = DefaultHasher::new();
// c.hash(&mut hasher);
// let content_hash = hasher.finish();
let plain_text = c.plain_text();
// println!("plain_text: {}", plain_text);
// println!("{c:?}");
let id = *supplement_ids.entry(plain_text).or_insert_with(|| {
let id = *supplement_ids.entry(c.plain_text()).or_insert_with(|| {
let id = next_supplement_id;
next_supplement_id += 1;
id