diff --git a/qutebrowser/widgets/completion.py b/qutebrowser/widgets/completion.py index d97f1ad31..aa62bab46 100644 --- a/qutebrowser/widgets/completion.py +++ b/qutebrowser/widgets/completion.py @@ -255,7 +255,6 @@ class CompletionItemDelegate(QStyledItemDelegate): cur.setPosition(mark[1], QTextCursor.KeepAnchor) txt = cur.selectedText() cur.removeSelectedText() - # FIXME escape html in txt cur.insertHtml('{}'.format( html.escape(txt))) doc.drawContents(self.painter, clip)