diff --git a/src/Plugin/AdvancedDatalayer/Tag/DatalayerNameBase.php b/src/Plugin/AdvancedDatalayer/Tag/DatalayerNameBase.php
index 6a8c09df5cdcefa6bb689b6d90d70d5dfec80797..0105f804d6535ab2236f691bcd50317c9f0079c7 100644
--- a/src/Plugin/AdvancedDatalayer/Tag/DatalayerNameBase.php
+++ b/src/Plugin/AdvancedDatalayer/Tag/DatalayerNameBase.php
@@ -3,7 +3,6 @@
 namespace Drupal\advanced_datalayer\Plugin\AdvancedDatalayer\Tag;
 
 use Drupal\Component\Plugin\PluginBase;
-use Drupal\Component\Utility\Html;
 use Drupal\Core\StringTranslation\StringTranslationTrait;
 
 /**
@@ -278,7 +277,7 @@ abstract class DatalayerNameBase extends PluginBase {
    *   The tag value after processing.
    */
   private function tidy($value) {
-    return trim(Html::escape($value));
+    return trim($value);
   }
 
   /**