Index: src/WebformSubmissionForm.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/WebformSubmissionForm.php	(revision )
+++ src/WebformSubmissionForm.php	(revision )
@@ -2,6 +2,7 @@
 
 namespace Drupal\webform;
 
+use Drupal\Component\Render\PlainTextOutput;
 use Drupal\Component\Utility\NestedArray;
 use Drupal\Core\Cache\Cache;
 use Drupal\Core\Entity\EntityInterface;
@@ -1728,7 +1729,7 @@
     }
 
     if (isset($this->settings[$name])) {
-      return $this->tokenManager->replace($this->settings[$name], $this->getEntity());
+      return PlainTextOutput::renderFromHtml(htmlspecialchars_decode($this->tokenManager->replace($this->settings[$name], $this->getEntity())));
     }
     else {
       return $default_value;
