This commit is contained in:
fenris 2024-02-11 15:48:09 +01:00
parent 19f045e25b
commit 051ce5f76b

View file

@ -57,24 +57,6 @@ class type_output_html implements type_output<string>
: [new lib_plankton.xml.class_node_text(label)]
)
),
"group": ({"members": members}) => new lib_plankton.xml.class_node_complex(
"div",
{
"class": "sd-group",
},
(
members
.map(
x => this.render_object_internal(
x,
{
"depth": options.depth,
"level": options.level,
}
)
)
)
),
"section": ({"title": title, "content": content}) => new lib_plankton.xml.class_node_complex(
"section",
{
@ -97,6 +79,24 @@ class type_output_html implements type_output<string>
),
]
),
"group": ({"members": members}) => new lib_plankton.xml.class_node_complex(
"div",
{
"class": "sd-group",
},
(
members
.map(
x => this.render_object_internal(
x,
{
"depth": options.depth,
"level": options.level,
}
)
)
)
),
"list": ({"items": items}) => new lib_plankton.xml.class_node_complex(
"ul",
{