mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Removing <h3> enclosing
--HG-- branch : dev
This commit is contained in:
@@ -62,19 +62,15 @@ namespace Orchard.DesignerTools.Services {
|
||||
private void DumpValue(object o, string name) {
|
||||
string formatted = FormatValue(o);
|
||||
_node.Add(
|
||||
new XElement("h3",
|
||||
new XElement("div", new XAttribute("class", "name"), name),
|
||||
new XElement("div", new XAttribute("class", "value"), formatted)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
private void DumpObject(object o, string name) {
|
||||
_node.Add(
|
||||
new XElement("h3",
|
||||
new XElement("div", new XAttribute("class", "name"), name),
|
||||
new XElement("div", new XAttribute("class", "type"), FormatType(o.GetType()))
|
||||
)
|
||||
);
|
||||
|
||||
if (_parents.Count >= _levels) {
|
||||
|
Reference in New Issue
Block a user