mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Use new attachment markdown format in ImportScripts::Uploader
.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user