We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099e900 commit 09c0b4bCopy full SHA for 09c0b4b
inc/field/descriptionfield.class.php
@@ -73,7 +73,7 @@ public function getValueForDesign() {
73
public function getValueForTargetText($richText) {
74
$text = $this->question->fields['description'];
75
if (!$richText) {
76
- $text = nl2br(html_entity_decode($text));
+ $text = nl2br(strip_tags(html_entity_decode($text)));
77
}
78
79
return $text;
0 commit comments