Skip to content

Commit 7e581c8

Browse files
committed
fix: condense rendered html output
Even though the option output:indent "no" only applies to constructed nodes at the moment it still reduces the page size sent over http.
1 parent e1bfeb0 commit 7e581c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/xar-resources/modules/view.xql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";
1818
declare option output:method "html";
1919
declare option output:html-version "5.0";
2020
declare option output:media-type "text/html";
21+
declare option output:indent "no";
2122

2223
declare function local:lookup ($functionName as xs:string, $arity as xs:integer) {
2324
function-lookup(xs:QName($functionName), $arity)

0 commit comments

Comments
 (0)