Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
ab8d9dbb
Verified
Commit
ab8d9dbb
authored
Dec 15, 2021
by
Mathias Goebel
Browse files
fix: remove anchor from images
parent
f61a89c0
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/wiki/wiki.xqm
View file @
ab8d9dbb
...
...
@@ -298,7 +298,7 @@ for $node in $nodes return
}
case element (xhtml:a)
return
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment