diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index dcac1398c..69e379455 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -1154,7 +1154,7 @@ class EditorWebView(AnkiWebView): ) if KeyboardModifiersPressed().shift: strip_html = not strip_html - return strip_html + return not strip_html def _onPaste(self, mode: QClipboard.Mode) -> None: extended = self._wantsExtendedPaste()