this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: include # sigil in review card source extraction

card.span starts at the function name, not the # sigil. Without it,
the renderer sees plain text like cloze[...] instead of #cloze[...].

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

+1 -1
+1 -1
crates/tala/src/main.rs
··· 1948 1948 1949 1949 for (ci, card) in cards.iter().enumerate() { 1950 1950 let card_id = ci.to_string(); 1951 - let card_src = source[card.span.clone()].to_string(); 1951 + let card_src = source[card.span.start.saturating_sub(1)..card.span.end].to_string(); 1952 1952 match (&card.kind, sidecar.get(&card_id)) { 1953 1953 (CardKind::FrontBack { dir, .. }, sched) => { 1954 1954 let (fwd, rev) = match sched {