Fix an issue where links were not rendering properly in Ask AI answers (#3505)

This commit is contained in:
Taran Vohra
2025-07-28 16:43:18 +05:30
committed by GitHub
parent 72f5ce3985
commit df7de8fb0c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix an issue where links were not rendering properly in Ask AI answers
@@ -338,7 +338,7 @@ async function transformAnswer(
document={answer.answer.document}
context={{
mode: 'default',
contentContext: undefined,
contentContext: context,
wrapBlocksInSuspense: false,
shouldRenderLinkPreviews: false, // We don't want to render link previews in the AI answer.
}}