Due to maintenance reasons, gitlab.gwdg.de will not be available on Saturday 2021-07-24 from 10:30 to approximately 11:30 CEST.

Commit c662218b authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

minor: fixes

parent f1ec3181
......@@ -298,7 +298,7 @@ for $node in $nodes return
}
case element (xhtml:a)
return
if(exists($node/img)) then wiki:dokuwikiparser($node/node(), $char) else
if(exists($node/xhtml:img)) then wiki:dokuwikiparser($node/node(), $char) else
element xhtml:a {
attribute href {
if($node/@class = "urlextern") then
......
xquery version "3.1";
(: the target collection into which the app is deployed :)
declare variable $target external;
(
(: register REST APIs :)
(for $uri at $pos in (collection($target)/base-uri())[ends-with(., ".xqm")]
let $content := $uri => util:binary-doc() => util:base64-decode()
......@@ -11,4 +11,5 @@ return
exrest:register-module(xs:anyURI($uri))
),
sm:chmod($target || "/modules/wiki/wiki.xqm", "rwsrwxr-x")
\ No newline at end of file
sm:chmod($target || "/modules/wiki/wiki.xqm", "rwsrwxr-x")
)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment