diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 21:46:18 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 21:46:18 +0100 |
commit | a6a262d769d428013543999079c2766379ec3cab (patch) | |
tree | ef4499efb80182b7bf60b5095f4641cd0e180a28 /html.rb | |
parent | 9086b9e841bd64beed3003c9d5b3ec98525f2df7 (diff) |
bugfix: there may be no css file
Diffstat (limited to 'html.rb')
-rw-r--r-- | html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ class HTML <title>#{@title}</title> HEAD - @css = [@css[0]] + @css[1..-1].sort + @css = [@css[0]] + @css[1..-1].sort unless @css.empty? @css.each{|title,href| ret += "<link rel='stylesheet' type='text/css' href='#{href}' title='#{title}'/>\n" ret += "<link rel='stylesheet' type='text/css' href='#{href}' title='print' media='print' />\n" if title == "print" |