Skip to content

Commit

Permalink
#7739 Add hint for Javascript files
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Mar 5, 2022
1 parent 3547c9c commit ea6358a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/core/PKPString.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ public static function getAmbiguousExtensionsMap()
'css:text/x-c' => 'text/css',
'css:text/plain' => 'text/css',
'csv:text/plain' => 'text/csv',
'js:text/plain' => 'text/javascript',
'xlsx:application/zip' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xltx:application/zip' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
'potx:application/zip' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
Expand Down

0 comments on commit ea6358a

Please sign in to comment.