diff --git a/lib/Alchemy/Phrasea/Core/Provider/TwigServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/TwigServiceProvider.php index 764129d667..a5dcfb8c43 100644 --- a/lib/Alchemy/Phrasea/Core/Provider/TwigServiceProvider.php +++ b/lib/Alchemy/Phrasea/Core/Provider/TwigServiceProvider.php @@ -122,7 +122,7 @@ class TwigServiceProvider implements ServiceProviderInterface return preg_replace( "/(\\W|^)(https?:\/{2,4}[\\w:#%\/;$()~_?\/\-=\\\.&]+)/m" , - '$1$2   + '$1$2  '$1 $2  $7' , $string ); }, ['needs_environment' => true, 'is_safe' => ['html']]));