diff --git a/core/modules/file/file.module b/core/modules/file/file.module
index 0f8416b369f1f4cb2d2eb069456950c4d9a565d3..d63f1e856d92956b6c2d45fe7ea9480507e627c5 100644
--- a/core/modules/file/file.module
+++ b/core/modules/file/file.module
@@ -1454,9 +1454,7 @@ function template_preprocess_file_link(&$variables) {
   $variables['#cache']['contexts'][] = 'url.site';
 
   $mime_type = $file->getMimeType();
-  // Set options as per anchor format described at
-  // http://microformats.org/wiki/file-format-examples
-  $options['attributes']['type'] = $mime_type . '; length=' . $file->getSize();
+  $options['attributes']['type'] = $mime_type;
 
   // Use the description as the link text if available.
   if (empty($variables['description'])) {