From a6a262d769d428013543999079c2766379ec3cab Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Wed, 9 Dec 2009 21:46:18 +0100 Subject: bugfix: there may be no css file --- html.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.rb') diff --git a/html.rb b/html.rb index e682f21..91e1b4b 100644 --- a/html.rb +++ b/html.rb @@ -38,7 +38,7 @@ class HTML #{@title} HEAD - @css = [@css[0]] + @css[1..-1].sort + @css = [@css[0]] + @css[1..-1].sort unless @css.empty? @css.each{|title,href| ret += "\n" ret += "\n" if title == "print" -- cgit v1.2.3