This needs to work even when localdocs and codeblocks are detected.

This commit is contained in:
Adam Treat 2023-06-20 19:07:02 -04:00
parent ce7333029f
commit 09ae04cee9

View File

@ -367,8 +367,8 @@ void ResponseText::handleTextChanged()
return;
m_isProcessingText = true;
handleContextLinks();
handleCodeBlocks();
handleContextLinks();
// We insert an invisible char at the end to make sure the document goes back to the default
// text format
QTextDocument* doc = m_textDocument->textDocument();