Permalink
Browse files

Removed new lines from the HTML output

  • Loading branch information...
1 parent 6229442 commit d1d3ddf1c8466d02e35a33825033aabd3128e865 @industria committed Nov 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 spritify.py
View
6 spritify.py
@@ -259,9 +259,9 @@ def _writeHtml(self, cssClasses):
html.write(str.format("<link rel=\"stylesheet\" type=\"text/css\" href=\"{0}\" />", self.__conf.cssfilename))
html.write("</head><body>")
for cssClass in cssClasses:
- html.write(str.format("<div>{0} {1}</div>\n", self.__conf.cssClassname, cssClass))
- html.write(str.format("<div class=\"{0} {1}\"></div>\n", self.__conf.cssClassname, cssClass))
- html.write("<hr>\n")
+ html.write(str.format("<div>{0} {1}</div>", self.__conf.cssClassname, cssClass))
+ html.write(str.format("<div class=\"{0} {1}\"></div>", self.__conf.cssClassname, cssClass))
+ html.write("<hr>")
html.write("""</body></html>""")
html.close()

0 comments on commit d1d3ddf

Please sign in to comment.