Closed nideez45 closed 7 months ago
mime_content_type gives more concise file type for code files, but to use it in renderer.php we need to copy the attachment to temp directory as mime_content_type needs file path. So sticking to use of both mime_content_type and get_mimetype_description
Currently there are two functions calls to check mime type in annotator.php.