Add comment about HTML escaping
This commit is contained in:
parent
64eeb95c30
commit
28a32e680d
@ -452,6 +452,7 @@ class _BasePrompt(QWidget):
|
|||||||
title_label = QLabel(title, self)
|
title_label = QLabel(title, self)
|
||||||
self._vbox.addWidget(title_label)
|
self._vbox.addWidget(title_label)
|
||||||
if question.text is not None:
|
if question.text is not None:
|
||||||
|
# Not doing any HTML escaping here as the text can be formatted
|
||||||
text_label = QLabel(question.text)
|
text_label = QLabel(question.text)
|
||||||
self._vbox.addWidget(text_label)
|
self._vbox.addWidget(text_label)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user