changeset 408:202e4424cab8

Unbreak menus.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 13 Feb 2012 12:23:39 +0000
parents 7d9b9f26231c
children 6fa99c92e40a
files xsls/menu.xsls
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xsls/menu.xsls	Mon Feb 13 12:04:43 2012 +0000
+++ b/xsls/menu.xsls	Mon Feb 13 12:23:39 2012 +0000
@@ -53,7 +53,7 @@
 }
 
 
-X:template = "menu/item[starts-with(@href, 'http://')]" {
+X:template = "menu/item[starts-with(@href, 'http://') or starts-with(@href, 'https://')]" {
     <a href="{@href}"> !{ normalize-space(text()) } </a>
     X:if "@lang" { X:text { [} !{@lang} X:text {]}}
     <br/>