Skip to content

Commit c3d03b5

Browse files
committed
fix(textfield): useless HTML entity encode
1 parent 90f2a95 commit c3d03b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/textfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function isPrerequisites(): bool {
5151

5252
public function showForm(array $options): void {
5353
$template = '@formcreator/field/' . $this->question->fields['fieldtype'] . 'field.html.twig';
54-
$this->question->fields['default_values'] = Html::entities_deep($this->question->fields['default_values']);
54+
// $this->question->fields['default_values'] = Html::entities_deep($this->question->fields['default_values']);
5555
$this->deserializeValue($this->question->fields['default_values']);
5656
$parameters = $this->getParameters();
5757
TemplateRenderer::getInstance()->display($template, [

0 commit comments

Comments
 (0)