update xemil and allow xinclude
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
This commit is contained in:
parent
fbdca33531
commit
2a1d634f23
3 changed files with 4 additions and 3 deletions
2
external/xemil
vendored
2
external/xemil
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit d0379fc8699c0a9a9c891d4d9a8737b406a06a85
|
||||
Subproject commit 3b7633c2cb47e2b378a77441b078f462941a6336
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ int action_site(int argc, char** argv) {
|
|||
|
||||
io_mkdir("build", 0755);
|
||||
|
||||
if((skinconf = xl_open_file("site/skinconf.xml")) == NULL || !(skinconf->new_text = 1) || !xl_parse(skinconf)) {
|
||||
if((skinconf = xl_open_file("site/skinconf.xml")) == NULL || !(skinconf->param.new_text = skinconf->param.do_xinclude = 1) || !xl_parse(skinconf)) {
|
||||
fprintf(stderr, "Failed to parse site/skinconf.xml!\n");
|
||||
st = 1;
|
||||
goto cleanup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue