@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | if (!empty($GLOBALS['TBE_STYLES']['stylesheets']['admPanel'])) { |
| 83 | 83 | $stylesheet = GeneralUtility::locationHeaderUrl($GLOBALS['TBE_STYLES']['stylesheets']['admPanel']); |
| 84 | 84 | $result = '<link rel="stylesheet" href="' . |
| 85 | - htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />'; |
|
| 85 | + htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />'; |
|
| 86 | 86 | } |
| 87 | 87 | return $result; |
| 88 | 88 | } |
@@ -96,11 +96,11 @@ discard block |
||
| 96 | 96 | protected static function getCssTag(string $cssFileLocation): string |
| 97 | 97 | { |
| 98 | 98 | $css = '<link rel="stylesheet" href="' . |
| 99 | - htmlspecialchars( |
|
| 100 | - PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)), |
|
| 101 | - ENT_QUOTES | ENT_HTML5 |
|
| 102 | - ) . |
|
| 103 | - '" media="all" />'; |
|
| 99 | + htmlspecialchars( |
|
| 100 | + PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)), |
|
| 101 | + ENT_QUOTES | ENT_HTML5 |
|
| 102 | + ) . |
|
| 103 | + '" media="all" />'; |
|
| 104 | 104 | return $css; |
| 105 | 105 | } |
| 106 | 106 | |
@@ -113,11 +113,11 @@ discard block |
||
| 113 | 113 | protected static function getJsTag(string $jsFileLocation): string |
| 114 | 114 | { |
| 115 | 115 | $js = '<script src="' . |
| 116 | - htmlspecialchars( |
|
| 117 | - PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)), |
|
| 118 | - ENT_QUOTES | ENT_HTML5 |
|
| 119 | - ) . |
|
| 120 | - '"></script>'; |
|
| 116 | + htmlspecialchars( |
|
| 117 | + PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)), |
|
| 118 | + ENT_QUOTES | ENT_HTML5 |
|
| 119 | + ) . |
|
| 120 | + '"></script>'; |
|
| 121 | 121 | return $js; |
| 122 | 122 | } |
| 123 | 123 | |