Permalink
Browse files

Fix omission of media type in <link> output

Patch by Thomas J.M. Burton <tom@globalfocusdm.com>. Thanks!
  • Loading branch information...
jonjensen committed May 28, 2009
1 parent 6f7164b commit ccfcbf9dc5b114b3f9e66aa39a2141c41eea348f
Showing with 2 additions and 4 deletions.
  1. +2 −4 code/UserTag/css.tag
@@ -1,11 +1,9 @@
# Copyright 2003-2007 Interchange Development Group and others
# Copyright 2003-2009 Interchange Development Group and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. See the LICENSE file for details.
#
# $Id: css.tag,v 1.9 2009-05-01 13:50:00 pajamian Exp $

UserTag css Order name
UserTag css addAttr
@@ -122,7 +120,7 @@ sub {
or logError("Error writing CSS file %s, returning in page", $fn);
}

return qq{<link rel="stylesheet" href="$url">} if $success;
return qq{<link rel="stylesheet" href="$url"$extra>} if $success;
return qq{<style type="text/css">\n$css</style>};
}
EOR

0 comments on commit ccfcbf9

Please sign in to comment.