|
|
@ -163,6 +163,10 @@ namespace FLocal.Common.dataobjects { |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private XNode XMLBody(UserContext context) { |
|
|
|
|
|
|
|
return XElement.Parse("<body>" + context.outputParams.preprocessBodyIntermediate(this.body) + "</body>", LoadOptions.PreserveWhitespace); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public XElement exportToXmlWithoutThread(UserContext context, bool includeParentPost, params XElement[] additional) { |
|
|
|
public XElement exportToXmlWithoutThread(UserContext context, bool includeParentPost, params XElement[] additional) { |
|
|
|
|
|
|
|
|
|
|
|
if(!context.isPostVisible(this)) return null; |
|
|
|
if(!context.isPostVisible(this)) return null; |
|
|
@ -177,6 +181,7 @@ namespace FLocal.Common.dataobjects { |
|
|
|
new XElement("layerName", this.layer.name), |
|
|
|
new XElement("layerName", this.layer.name), |
|
|
|
new XElement("title", this.title), |
|
|
|
new XElement("title", this.title), |
|
|
|
new XElement("body", context.outputParams.preprocessBodyIntermediate(this.body)), |
|
|
|
new XElement("body", context.outputParams.preprocessBodyIntermediate(this.body)), |
|
|
|
|
|
|
|
//this.XMLBody(context), |
|
|
|
new XElement("bodyShort", this.bodyShort), |
|
|
|
new XElement("bodyShort", this.bodyShort), |
|
|
|
new XElement("threadId", this.threadId) |
|
|
|
new XElement("threadId", this.threadId) |
|
|
|
); |
|
|
|
); |
|
|
|