Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix improper escaping of details fields in GridField view
  • Loading branch information
kinglozzer committed Mar 31, 2023
1 parent 9da789e commit 5b3aa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/CapturedFormSubmission.php
Expand Up @@ -134,7 +134,7 @@ public function Details(): DBHTMLText
continue;
}

$htmlEnt = '<strong>'. $field->Title .'</strong>: '. $field->Value;
$htmlEnt = '<strong>'. $field->Title .'</strong>: '. $field->dbObject('Value')->forTemplate();
$toAdd[] = $htmlEnt;
}

Expand Down

0 comments on commit 5b3aa39

Please sign in to comment.