Merge pull request #169 from stocksr/U4-3033-take2

Really Fix U4-3033 - inserting extra blank line at end of CSS
This commit is contained in:
Sebastiaan Janssen
2013-10-16 04:00:26 -07:00

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";
string tmpCss = this.Content ;
tmpCss += "/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */\n";
foreach (StylesheetProperty p in this.Properties)
{