]> git.kaiwu.me - nginx.git/commitdiff
HTTP errors are now output as "code (text)".
authorRuslan Ermilov <ru@nginx.com>
Mon, 12 Sep 2011 09:48:33 +0000 (09:48 +0000)
committerRuslan Ermilov <ru@nginx.com>
Mon, 12 Sep 2011 09:48:33 +0000 (09:48 +0000)
docs/xsls/content.xsls

index c6fe14e9fc268bb1aece2b26dd9d4a4deb7e5f94..ddeeb8ef86df2b042c19e338bf326b51abbfcafe 100644 (file)
@@ -35,8 +35,7 @@ X:stylesheet {
     X:template = "header" { <code> !!; </code> }
 
     X:template = "http-error" {
-        <i> X:text{&quot;} !{@text} X:text{&quot;} </i>
-        X:text{ (} !{@code} X:text{)}
+        !{@code} X:text{ (} !{@text} X:text{)}
     }
 
     X:template = "link[@url]" { <a href="{@url}"> !!; </a> }