fix: accumulate mixed-content ClaML labels (full titles)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 16:34:19 +02:00
parent bb42f07790
commit c8ea9a5fb3
2 changed files with 13 additions and 3 deletions
+2 -3
View File
@@ -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);
}
}
}