From 28a32e680db851d1145695bbce0cb59f0b05f450 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 31 Oct 2016 07:52:32 +0100 Subject: [PATCH] Add comment about HTML escaping --- qutebrowser/mainwindow/prompt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py index 89a303f6b..7cc476e48 100644 --- a/qutebrowser/mainwindow/prompt.py +++ b/qutebrowser/mainwindow/prompt.py @@ -452,6 +452,7 @@ class _BasePrompt(QWidget): title_label = QLabel(title, self) self._vbox.addWidget(title_label) if question.text is not None: + # Not doing any HTML escaping here as the text can be formatted text_label = QLabel(question.text) self._vbox.addWidget(text_label)