FIX: Use new attachment markdown format in `ImportScripts::Uploader`.
This commit is contained in:
parent
9d0fba64c0
commit
36c0cfa890
|
@ -57,7 +57,7 @@ module ImportScripts
|
|||
end
|
||||
|
||||
def attachment_html(upload, display_filename)
|
||||
"<a class='attachment' href='#{upload.url}'>#{display_filename}</a> (#{number_to_human_size(upload.filesize)})"
|
||||
"[#{display_filename}|attachment](#{upload.short}) (#{number_to_human_size(upload.filesize)})"
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue