Skip to content

Commit

Permalink
Fix: Video attachments names not sanitized, causing issues when store…
Browse files Browse the repository at this point in the history
…d in subfolders


- Might also address kovetskiy#500
  • Loading branch information
YuriyAM authored Nov 7, 2024
1 parent 3d96781 commit ae3a30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`<ac:structured-macro ac:name="multimedia">`,
`<ac:parameter ac:name="width">{{ or .Width 500 }}</ac:parameter>`,
`<ac:parameter ac:name="name">`,
`<ri:attachment ri:filename="{{ .Name }}/>`,
`<ri:attachment ri:filename="{{ .Name | convertAttachment }}"/>`,
`</ac:parameter>`,
`<ac:parameter ac:name="autoplay">{{ or .AutoPlay "false"}}</ac:parameter>`,
`</ac:structured-macro>`,
Expand Down

0 comments on commit ae3a30b

Please sign in to comment.