summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2008-12-12 20:58:15 -0800
committerShawn O. Pearce <sop@google.com>2008-12-12 20:58:15 -0800
commita248e34309987fdf560f09f560eb5709b7be29ad (patch)
tree466542eedac4efe861904b002854f06d0c1b125a /webapp
parentcc34eff3f7963ad8c192c91e0d1844fbbdf38a23 (diff)
Fix invalid <style> tag in host page so it works in Mac OS X hosted mode
The hosted mode Safari browser doesn't recognize a <style> tag that isn't closed with </style>. It stops parsing the page and just shows nothing at all, so we have to construct the page as valid HTML. Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/com/google/gerrit/public/Gerrit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/com/google/gerrit/public/Gerrit.html b/webapp/src/com/google/gerrit/public/Gerrit.html
index 52512af6bd..da37f008cb 100644
--- a/webapp/src/com/google/gerrit/public/Gerrit.html
+++ b/webapp/src/com/google/gerrit/public/Gerrit.html
@@ -3,7 +3,7 @@
<title>Gerrit Code Review</title>
<script id="gerrit_gerritconfig"></script>
<script type="text/javascript" language="javascript" src="com.google.gerrit.Gerrit.nocache.js"></script>
- <style type="text/css" id="gerrit_sitecss"/>
+ <style type="text/css" id="gerrit_sitecss"></style>
</head>
<body>
<div id="gerrit_topmenu"></div>