Skip to content

Commit

Permalink
Do not indent the project config
Browse files Browse the repository at this point in the history
This can get quite large.
  • Loading branch information
simar0at committed May 10, 2024
1 parent 57c79b8 commit f9142bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vicav.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function vicav:_project_config() {
update {insert node <cached type="boolean">true</cached> as first into ./projectConfig,
.//text()[contains(., '{{host_name}}')]!(replace value of node . with replace(., '{{host_name}}/{{path}}', $publicURI, 'q'))}
else vicav:project_config_json_as_xml($publicURI) update {insert node <cached type="boolean">false</cached> as first into ./json/projectConfig}
return serialize($jsonAsXML, map {"method": "json"})
return serialize($jsonAsXML, map {"method": "json", "indent": "no"})
else let $renderedMenu := xslt:transform($config/menu, 'xslt/menu.xslt')
return <project><config>{$config}</config><renderedMenu>{$renderedMenu}</renderedMenu></project>
};
Expand Down

0 comments on commit f9142bd

Please sign in to comment.