aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-01-23 20:22:35 +0100
committerThomas Lange <code@nerdmind.de>2024-01-23 20:22:35 +0100
commit53c035918a4f34b826728e06d9b77e4bcb440517 (patch)
tree468f763d1fc4237e77b0c85771c20f69b3ac0ed2 /theme/admin/html/main.php
parent09f52cfcc8ced8bed60e5c1702e6f35cf3fe1f29 (diff)
downloadblog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.gz
blog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.xz
blog-53c035918a4f34b826728e06d9b77e4bcb440517.zip
Remove trailing slash on void elements
The trailing slash on void elements (self-closing tags) doesn't have any effect, isn't required by HTML5 and it is recommended to not use it.
Diffstat (limited to 'theme/admin/html/main.php')
-rw-r--r--theme/admin/html/main.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php
index 82dd407..2035b47 100644
--- a/theme/admin/html/main.php
+++ b/theme/admin/html/main.php
@@ -16,10 +16,10 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<!DOCTYPE html>
<html lang="<?=$BLOGMETA['LANG']?>">
<head>
- <meta charset="UTF-8" />
- <meta name="referrer" content="origin-when-crossorigin" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>" />
+ <meta charset="UTF-8">
+ <meta name="referrer" content="origin-when-crossorigin">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>">
<script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
<title><?=escapeHTML($NAME)?> | Administration</title>
</head>
@@ -28,7 +28,7 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<div class="header-line background">
<div class="header-content">
<a href="<?=Application::getURL()?>">
- <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration" />
+ <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration">
</a>
<div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
<div id="header-desc"><?=escapeHTML($BLOGMETA['DESC'])?></div>