Adding dynamicly resolved Parts in Content Item

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2011-03-24 14:19:28 -07:00
parent c3bfa268dd
commit ce4bd02334
5 changed files with 59 additions and 52 deletions

View File

@@ -92,7 +92,7 @@ namespace Orchard.DesignerTools.Services {
var dumper = new ObjectDumper(6);
var el = dumper.Dump(context.Shape, "Model");
using (var sw = new StringWriter()) {
el.WriteTo(new XmlTextWriter(sw) {Formatting = Formatting.Indented});
el.WriteTo(new XmlTextWriter(sw) {Formatting = Formatting.None});
context.Shape._Dump = sw.ToString();
}