mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 19:06:31 +00:00
Fix an issue where links were not rendering properly in Ask AI answers (#3505)
This commit is contained in:
@@ -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.
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user