Skip to content

Commit

Permalink
fix(textfield): useless HTML entity encode
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 6, 2023
1 parent 90f2a95 commit c3d03b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/field/textfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function isPrerequisites(): bool {

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

0 comments on commit c3d03b5

Please sign in to comment.