Add comment about HTML escaping

This commit is contained in:
Florian Bruhin 2016-10-31 07:52:32 +01:00
parent 64eeb95c30
commit 28a32e680d

View File

@ -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)