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

This commit is contained in:
Nishi 2026-03-09 23:25:17 +09:00
commit 2a1d634f23
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,8 @@ static int parse_file(const char* top, const char* full) {
xemil_t* handle = xl_open_file(full);
int st = 1;
handle->new_text = 1;
handle->param.new_text = 1;
handle->param.do_xinclude = 1;
if(handle != NULL && xl_parse(handle)) {
if(handle->root == NULL || strcmp(handle->root->name, "document") != 0) {