We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f5ce3 commit df7de8fCopy full SHA for df7de8f
.changeset/khaki-waves-give.md
@@ -0,0 +1,5 @@
1
+---
2
+"gitbook": patch
3
4
+
5
+Fix an issue where links were not rendering properly in Ask AI answers
packages/gitbook/src/components/Search/server-actions.tsx
@@ -338,7 +338,7 @@ async function transformAnswer(
338
document={answer.answer.document}
339
context={{
340
mode: 'default',
341
- contentContext: undefined,
+ contentContext: context,
342
wrapBlocksInSuspense: false,
343
shouldRenderLinkPreviews: false, // We don't want to render link previews in the AI answer.
344
}}
0 commit comments