diff options
-rwxr-xr-x | core/Twig.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Twig.php b/core/Twig.php index 8dd259fc2d..758cd24013 100755 --- a/core/Twig.php +++ b/core/Twig.php @@ -234,6 +234,8 @@ class Twig protected function addFilter_safeDecodeRaw() { $rawSafeDecoded = new Twig_SimpleFilter('rawSafeDecoded', function ($string) { + $string = str_replace('+', '%2B', $string); + return SafeDecodeLabel::decodeLabelSafe($string); }, array('is_safe' => array('all'))); |