We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fb00c2 commit 5d729e8Copy full SHA for 5d729e8
1 file changed
code/frontend/src/components/Answer/AnswerParser.tsx
@@ -39,6 +39,7 @@ export function parseAnswer(answer: AskResponse): ParsedAnswer {
39
}
40
})
41
42
+ answerText = answerText.replace(/([ \t]*\^(\d+)\^[ \t]*)(?:[ \t]*\^\2\^[ \t]*)+/g, " ^$2^ ");
43
44
return {
45
citations: filteredCitations,
0 commit comments