update
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-03-16 22:20:24 +09:00
commit 48f26499e0
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 4 additions and 3 deletions

View file

@ -241,8 +241,8 @@ void default_body(FILE* out, const char* top, xl_node_t* element, int spec, int
while(child != NULL) {
if(child->type == XL_NODE_NODE && child->name != NULL) {
default_body(out, top, child, spec, pre, indent + 1 + add);
} else if(child->type == XL_NODE_TEXT && child->text != NULL) {
print(out, child->text, pre, pre ? 0 : (indent + 1 + add));
} else if(child->type == XL_NODE_TEXT && (pre ? (child->text_raw != NULL) : (child->text != NULL))) {
print(out, pre ? child->text_raw : child->text, pre, pre ? 0 : (indent + 1 + add));
}
child = child->next;