aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/search
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/default/html/search
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/default/html/search')
-rw-r--r--theme/default/html/search/main.php4
-rw-r--r--theme/default/html/search/result.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/theme/default/html/search/main.php b/theme/default/html/search/main.php
index e7522ff..336f49c 100644
--- a/theme/default/html/search/main.php
+++ b/theme/default/html/search/main.php
@@ -6,7 +6,7 @@
<?php endif; ?>
<form action="" method="GET">
- <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" />
+ <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>">
<select name="d">
<option value=""><?=$Language->text('date_d')?></option>
@@ -30,5 +30,5 @@
<?php endforeach; ?>
</select>
- <input type="submit" value="<?=$Language->text('search')?>" />
+ <input type="submit" value="<?=$Language->text('search')?>">
</form>
diff --git a/theme/default/html/search/result.php b/theme/default/html/search/result.php
index 8de0e25..29ce9db 100644
--- a/theme/default/html/search/result.php
+++ b/theme/default/html/search/result.php
@@ -2,7 +2,7 @@
<p><?=$Language->text('search_result_heading_desc')?></p>
<form action="" method="GET">
- <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" />
+ <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>">
<select name="d">
<option value=""><?=$Language->text('date_d')?></option>
@@ -26,7 +26,7 @@
<?php endforeach; ?>
</select>
- <input type="submit" value="<?=$Language->text('search')?>" />
+ <input type="submit" value="<?=$Language->text('search')?>">
</form>
<div class="item-container post">