diff --git a/public/modules/custom/grants_applicant_info/src/Plugin/WebformElement/ApplicantInfoComposite.php b/public/modules/custom/grants_applicant_info/src/Plugin/WebformElement/ApplicantInfoComposite.php index 12a8ece1b..66aba20ea 100644 --- a/public/modules/custom/grants_applicant_info/src/Plugin/WebformElement/ApplicantInfoComposite.php +++ b/public/modules/custom/grants_applicant_info/src/Plugin/WebformElement/ApplicantInfoComposite.php @@ -97,7 +97,7 @@ protected function formatTextItemValue(array $element, WebformSubmissionInterfac $webformElement = $element["#webform_composite_elements"][$fieldName]; if ($webformElement && isset($webformElement['#title'])) { $lines[] = '
' . $webformElement['#title']->render() . '
'; - $lines[] = '
' . $fieldValue . '
'; + $lines[] = '
' . htmlspecialchars_decode($fieldValue) . '
'; } } } diff --git a/public/modules/custom/grants_handler/grants_handler.module b/public/modules/custom/grants_handler/grants_handler.module index df4f2a8c1..d744c602e 100644 --- a/public/modules/custom/grants_handler/grants_handler.module +++ b/public/modules/custom/grants_handler/grants_handler.module @@ -1559,7 +1559,7 @@ function grants_handler_preprocess_application_list_item(&$variables): void { } else { \Drupal::logger('grants_handler') - ->error('Application status not in valid statuses: %number', [ + ->info('Application status not in valid statuses: %number', [ '%number' => $submissionData["application_number"], ]); } @@ -1611,7 +1611,7 @@ function grants_handler_preprocess_application_status_tag(&$variables): void { } else { \Drupal::logger('grants_handler') - ->error('Application status not in valid statuses: %appno', [ + ->info('Application status not in valid statuses: %appno', [ '%appno' => $submissionData["application_number"], ]); }