fix(extractor): make trace previews unicode-safe (#113)

This commit is contained in:
Abimael Martell
2026-06-24 01:27:27 -06:00
committed by GitHub
parent ce49794719
commit 1b2e2c76d6
2 changed files with 19 additions and 10 deletions
+1 -5
View File
@@ -1234,11 +1234,7 @@ pub(crate) fn group_into_lines_with_thresholds(
ci,
item.x,
item.y,
if item.text.len() > 60 {
&item.text[..60]
} else {
&item.text
}
super::trace_text_preview(&item.text, 60)
);
}
}