diff --git a/core/components/jolitypo/elements/snippets/jolitypo.snippet.php b/core/components/jolitypo/elements/snippets/jolitypo.snippet.php index f38e451..637c8dd 100644 --- a/core/components/jolitypo/elements/snippets/jolitypo.snippet.php +++ b/core/components/jolitypo/elements/snippets/jolitypo.snippet.php @@ -47,4 +47,9 @@ # run JoliTypo and return $input = $fixer->fix($input); -return $input; \ No newline at end of file +# prevent URL gets encoded in links #4 +$input = preg_replace_callback("//i", function($matches) { + return ""; +}, $input); + +return $input;