Files
tkmind_go/crates
john 6af43341c8 fix(web): slice fetched HTML on UTF-8 char boundaries
Lowercasing non-ASCII text can change byte length, so offsets found in the
lowercased copy panicked when reused on the original (seen on 103 in
parse_ddg_results / strip_html). Use ASCII-only lowercasing, clamp slice
ends to char boundaries, and stop parsing on truncated result tags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:25:12 +08:00
..