fix(backend): don't claim LBL is an URL attribute

This commit is contained in:
Tomáš Mládek 2024-07-02 19:47:04 +02:00
parent a6166fa6f9
commit 5bd63a314b

View file

@ -103,6 +103,7 @@ impl Extractor for WebExtractor {
.into_iter()
.flatten()
.flat_map(|e| {
if e.attribute != ATTR_LABEL {
vec![
Entry {
entity: Address::Attribute(e.attribute.clone()),
@ -114,6 +115,9 @@ impl Extractor for WebExtractor {
},
e,
]
} else {
vec![e]
}
})
.collect());
}