Verified Commit ab8d9dbb authored by Mathias Goebel's avatar Mathias Goebel
Browse files

fix: remove anchor from images

parent f61a89c0
......@@ -298,7 +298,7 @@ for $node in $nodes return
case element (xhtml:a)
if(exists($node/xhtml:img)) then wiki:dokuwikiparser($node/node(), $char) else
if(($node/@class eq 'media') or exists($node/xhtml:img)) then wiki:dokuwikiparser($node/node(), $char) else
element xhtml:a {
attribute href {
if($node/@class = "urlextern") then
Supports Markdown
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