Something recently changed for AI Assistant and Quick Answers that causes the fancy rendering to start while the AI is typing. Previously, the output was rendered fancily after the AI was done. As a result when a triple backtick is encountered in what should still be a code block the rendering breaks.
This prompt in Quick Answers and The Assistant illustrates the problem:
Write an example rustdoc for a simple fibonacci function that gives the nth fibonacci number?
This is the result:
![](https://kagifeedback.org/assets/files/2025-02-12/1739399841-140714-img-6928.jpg)
The code block should not terminate early if a triple backtick is encountered within a code block.