Fix U4-3033 - inserting extra blank line at end of CSS

This commit is contained in:
Robert Stocks
2013-10-03 10:55:54 +01:00
committed by Robert Stocks
parent fbb7f18f23
commit da74c0a163

View File

@@ -268,7 +268,7 @@ namespace umbraco.cms.businesslogic.web
{
using (StreamWriter SW = File.CreateText(IOHelper.MapPath(string.Format("{0}/{1}.css", SystemDirectories.Css, this.Text))))
{
string tmpCss = this.Content + "\n\n";
string tmpCss = this.Content + "\n";
tmpCss += "/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */\n";
foreach (StylesheetProperty p in this.Properties)
{