Skip to content

Commit be03866

Browse files
committed
fix(view): correct output method declaration, reorder options
1 parent 6b8955b commit be03866

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ import module namespace app="http://exist-db.org/apps/docs/app" at "app.xql";
1515

1616
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";
1717

18-
declare option output:method "html5";
18+
declare option output:method "html";
19+
declare option output:html-version "5.0";
1920
declare option output:media-type "text/html";
2021

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

2526
declare variable $local:templating-configuration := map {
26-
$templates:CONFIG_FILTER_ATTRIBUTES : true(),
27-
$templates:CONFIG_USE_CLASS_SYNTAX : false(),
2827
$templates:CONFIG_APP_ROOT : $config:app-root,
28+
$templates:CONFIG_USE_CLASS_SYNTAX : false(),
29+
$templates:CONFIG_FILTER_ATTRIBUTES : true(),
2930
$templates:CONFIG_STOP_ON_ERROR : true()
3031
};
3132

0 commit comments

Comments
 (0)