diff --git a/core/SSViewer.php b/core/SSViewer.php index 8639b6ba5..8ad716bba 100755 --- a/core/SSViewer.php +++ b/core/SSViewer.php @@ -381,7 +381,7 @@ class SSViewer { } else { $thisURLRelativeToBase = Director::makeRelative(Director::absoluteURL($_SERVER['REQUEST_URI'])); } - $output = preg_replace('/(+]href *= *)"#/i', '\\1"' . $thisURLRelativeToBase . '#', $output); + $output = preg_replace('/(]+href *= *)"#/i', '\\1"' . $thisURLRelativeToBase . '#', $output); } }