diff --git a/libraries/src/Document/Renderer/Html/MetasRenderer.php b/libraries/src/Document/Renderer/Html/MetasRenderer.php
index 26b0b082e8595..f6e29d269ad32 100644
--- a/libraries/src/Document/Renderer/Html/MetasRenderer.php
+++ b/libraries/src/Document/Renderer/Html/MetasRenderer.php
@@ -76,7 +76,7 @@ public function render($head, $params = [], $content = null)
throw new \RuntimeException('Detected an override for "joomla.script.options" asset');
}
- $jsonFlags = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | (JDEBUG ? JSON_PRETTY_PRINT : 0);
+ $jsonFlags = JSON_UNESCAPED_UNICODE | (JDEBUG ? JSON_PRETTY_PRINT : 0);
$jsonOptions = json_encode($scriptOptions, $jsonFlags);
// Set content and update attributes of dummy asset to correct ones