# HG changeset patch # User Ruslan Ermilov # Date 1329135819 0 # Node ID 202e4424cab8d6b2a1ef0291880f34ff645e4ad7 # Parent 7d9b9f26231c4fdcce4705f5d61c57869396958d Unbreak menus. diff -r 7d9b9f26231c -r 202e4424cab8 xsls/menu.xsls --- 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://')]" { !{ normalize-space(text()) } X:if "@lang" { X:text { [} !{@lang} X:text {]}}