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; return;
m_isProcessingText = true; m_isProcessingText = true;
handleContextLinks();
handleCodeBlocks(); handleCodeBlocks();
handleContextLinks();
// We insert an invisible char at the end to make sure the document goes back to the default // We insert an invisible char at the end to make sure the document goes back to the default
// text format // text format
QTextDocument* doc = m_textDocument->textDocument(); QTextDocument* doc = m_textDocument->textDocument();