fix(backend): don't claim LBL is an URL
attribute
This commit is contained in:
parent
a6166fa6f9
commit
5bd63a314b
1 changed files with 15 additions and 11 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue