... |
... |
@@ -95,14 +95,15 @@ |
95 |
95 |
|
96 |
96 |
{{velocity}} |
97 |
97 |
#set($attachments = $doc.getAttachmentList()) |
98 |
|
- |
99 |
99 |
{{gallery}} |
100 |
100 |
#foreach($attachment in $attachments) |
101 |
|
- #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp")) |
102 |
|
- image:$attachment.filename |
|
100 |
+ #set($filename = $escapetool.url($attachment.filename)) |
|
101 |
+ #if($filename.endsWith(".jpg") || $filename.endsWith(".png") || $filename.endsWith(".webp")) |
|
102 |
+ image:$doc.fullName.WebHome@$filename |
103 |
103 |
#end |
104 |
104 |
#end |
105 |
105 |
{{/gallery}} |
106 |
106 |
{{/velocity}} |
107 |
107 |
|
|
108 |
+ |
108 |
108 |
{{putFootnotes/}} |