fix: accumulate mixed-content ClaML labels (full titles)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-3
@@ -126,9 +126,8 @@ pub fn load(path: &str) -> Result<HashMap<String, IcdMeta>, AppError> {
|
||||
Ok(Event::Text(txt)) => {
|
||||
if in_preferred {
|
||||
if let Some(m) = cur.as_mut() {
|
||||
if m.description.is_empty() {
|
||||
m.description = txt.unescape().unwrap_or_default().into_owned();
|
||||
}
|
||||
let s = txt.unescape().unwrap_or_default();
|
||||
m.description.push_str(&s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user