changeset 1072:d7d02efb7a9f

theme: remove trailing slashes from html The trailing slashes in some of the tags were a XHTML thing that was acceptable with HTML 4. Since both of those are a thing of the past, the w3 validator warns about these slashes. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Tue, 18 Oct 2022 09:31:47 -0400
parents 858889124140
children ad6be9989905
files theme/html/commentform.tmpl theme/html/header.tmpl theme/html/story.tmpl
diffstat 3 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/theme/html/commentform.tmpl	Wed Jan 05 23:08:27 2022 -0500
+++ b/theme/html/commentform.tmpl	Tue Oct 18 09:31:47 2022 -0400
@@ -4,27 +4,27 @@
 <form action="?comment=1" method="post" id="commentform">
 
 <p style="display: none;">
-<input type="text" name="x" id="name" value="" size="22" />
+<input type="text" name="x" id="name" value="" size="22">
 <label for="name"><small>Please do not enter anything here</small></label>
 </p>
 
-<p><input type="text" name="a" id="author" value="" size="22" tabindex="1" />
+<p><input type="text" name="a" id="author" value="" size="22" tabindex="1">
 <label for="author"><small>Name (required)</small></label></p>
 
-<p><input type="text" name="e" id="email" value="" size="22" tabindex="2" />
+<p><input type="text" name="e" id="email" value="" size="22" tabindex="2">
 <label for="email"><small>Mail (will not be published) (required)</small></label></p>
 
-<p><input type="text" name="u" id="url" value="" size="22" tabindex="3" />
+<p><input type="text" name="u" id="url" value="" size="22" tabindex="3">
 <label for="url"><small>Website</small></label></p>
 
-<p><input type="text" name="v" id="captcha" value="" size="22" tabindex="4" />
+<p><input type="text" name="v" id="captcha" value="" size="22" tabindex="4">
 <label for="captcha"><small>{captcha_a} + {captcha_b} (required)</small></label></p>
 
 <p><textarea name="c" id="comment" cols="100%" rows="10" tabindex="5"></textarea></p>
 
-<p><input name="s" type="submit" id="submit" tabindex="6" value="Submit Comment" />
-<input type="hidden" name="i" value="{id}" />
-<input type="hidden" name="d" value="{now}" />
+<p><input name="s" type="submit" id="submit" tabindex="6" value="Submit Comment">
+<input type="hidden" name="i" value="{id}">
+<input type="hidden" name="d" value="{now}">
 </p>
 
 </form>
--- a/theme/html/header.tmpl	Wed Jan 05 23:08:27 2022 -0500
+++ b/theme/html/header.tmpl	Tue Oct 18 09:31:47 2022 -0400
@@ -1,21 +1,21 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<title>Josef &#8220;Jeff&#8221; Sipek &raquo; {title|escape}</title>
-	<meta name="generator" content="blahgd {generatorversion}" />
+	<meta name="generator" content="blahgd {generatorversion}">
 {ifset(twitteruser)}
 {ifset(twittertitle)}
 {ifset(twitterdesc)}
-	<meta name="twitter:site" content="@{twitteruser}" />
-	<meta name="twitter:creator" content="@{twitteruser}" />
-	<meta name="twitter:title" content="{twittertitle|escape}" />
-	<meta name="twitter:description" content="{twitterdesc|escape}" />
+	<meta name="twitter:site" content="@{twitteruser}">
+	<meta name="twitter:creator" content="@{twitteruser}">
+	<meta name="twitter:title" content="{twittertitle|escape}">
+	<meta name="twitter:description" content="{twitterdesc|escape}">
 {ifset(twitterimg)}
-	<meta name="twitter:image" content="{twitterimg}" />
-	<meta name="twitter:card" content="summary_large_image" />
+	<meta name="twitter:image" content="{twitterimg}">
+	<meta name="twitter:card" content="summary_large_image">
 {else()}
-	<meta name="twitter:card" content="summary" />
+	<meta name="twitter:card" content="summary">
 {endif()}
 {endif()}
 {endif()}
@@ -24,9 +24,9 @@
 		@import url( {baseurl}/style.css );
 	</style>
 
-	<link rel="shortcut icon" href="{baseurl}/favicon.ico" />
-	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{baseurl}/?feed=atom" />
-	<link rel="alternate" type="application/rss+xml" title="RSS2" href="{baseurl}/?feed=rss2" />
+	<link rel="shortcut icon" href="{baseurl}/favicon.ico">
+	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{baseurl}/?feed=atom">
+	<link rel="alternate" type="application/rss+xml" title="RSS2" href="{baseurl}/?feed=rss2">
 </head>
 <body>
 
--- a/theme/html/story.tmpl	Wed Jan 05 23:08:27 2022 -0500
+++ b/theme/html/story.tmpl	Tue Oct 18 09:31:47 2022 -0400
@@ -16,7 +16,7 @@
 {ifset(twitterdesc)}
 {ifset(twitterimg)}
 	<div>
-	<img src="{twitterimg}" width="100%" />
+	<img src="{twitterimg}" width="100%">
 	</div>
 {endif()}
 	<strong>{twittertitle|escape}</strong><br/>