Skip to content

Ask: no raw footnote markers in the top match - #37

Merged
lszoszk merged 1 commit into
mainfrom
fix/ask-footnote-markers
Nov 8, 2026
Merged

lszoszk merged 1 commit into
mainfrom
fix/ask-footnote-markers

Conversation

@lszoszk

@lszoszk lszoszk commented Nov 8, 2026

Copy link
Copy Markdown
Owner

The top-match box printed the backend text with [[fn:N]] markers; it now renders like the source cards (footnote buttons from the local record, markers stripped otherwise). Copy writes clean text. Regression test AR1.

🤖 Generated with Claude Code

The Ask backend sends paragraph text with the corpus footnote markers. The source cards
rendered them through the local corpus record, but the top-match box escaped the raw
answer string, so markers showed as text. Both now go through _askParaHtml(): the
local (or Spanish) record with footnote buttons when loaded, otherwise the backend text
with the markers stripped. Copy writes clean text. Test AR1 with a mocked response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lszoszk
lszoszk merged commit 9e630d7 into main Nov 8, 2026
2 checks passed
@lszoszk
lszoszk deleted the fix/ask-footnote-markers branch November 8, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant