]> BookStack Code Mirror - bookstack/commitdiff
Normalize ini and properties values 1667/head
authorConnor O'Shea <redacted>
Mon, 16 Sep 2019 00:24:47 +0000 (20:24 -0400)
committerGitHub <redacted>
Mon, 16 Sep 2019 00:24:47 +0000 (20:24 -0400)
resources/js/services/code.js

index 7dddc92fd247f3fd11cc2b91bb8794a8e94c8607..f92752109ccda2f386ebd7956d1c6f6174fb7545 100644 (file)
@@ -43,7 +43,7 @@ const modeMap = {
     haskell: 'haskell',
     hs: 'haskell',
     html: 'htmlmixed',
-    ini: 'text/x-ini',
+    ini: 'ini',
     javascript: 'javascript',
     json: {name: 'javascript', json: true},
     js: 'javascript',
@@ -56,7 +56,7 @@ const modeMap = {
     ml: 'mllike',
     nginx: 'nginx',
     powershell: 'powershell',
-    properties: 'text/x-properties',
+    properties: 'properties',
     ocaml: 'mllike',
     php: 'php',
     py: 'python',
Morty Proxy This is a proxified and sanitized view of the page, visit original site.