diff --git a/src/View/SSViewer.php b/src/View/SSViewer.php index c78cc9521..0503a65a1 100644 --- a/src/View/SSViewer.php +++ b/src/View/SSViewer.php @@ -851,13 +851,6 @@ PHP; */ public static function get_base_tag($contentGeneratedSoFar) { - $base = Director::absoluteBaseURL(); - - // Is the document XHTML? - if (preg_match('/]+xhtml/i', $contentGeneratedSoFar ?? '')) { - return ""; - } else { - return ""; - } + return ''; } }