Skip to contentSkip to conversation

gitweb: add type="text/css" to stylesheet link

PATCH New Jakub Narebski 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitweb: add type="text/css" to stylesheet link

---

 gitweb/gitweb.cgi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

75b6977d185f946fcab8b86011f37869948c1dac

gitweb/gitweb.cgi +2 -2
index fa90c51..c582424 100755
@@ -39,7 +39,7 @@ # html text to include at home page
 my $home_text =		"indextext.html";
 
 # URI of default stylesheet
-my $stylesheet =	"gitweb.css";
+my $stylesheet = 	"gitweb.css";
 
 # source of projects list
 #my $projects_list =	$projectroot;
@@ -272,7 +272,7 @@ sub git_header_html {
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
 <meta name="robots" content="index, nofollow"/>
-<link rel="stylesheet" href="$stylesheet"/>
+<link rel="stylesheet" type="text/css" href="$stylesheet"/> 
 <title>$title</title>
 $rss_link
 </head>
Signature · 1 line
1.3.0