1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 20:02:35 +01:00

Normalize ini and properties values

This commit is contained in:
Connor O'Shea 2019-09-15 20:24:47 -04:00 committed by GitHub
parent 4ad43b1a1f
commit fca69643db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ const modeMap = {
haskell: 'haskell', haskell: 'haskell',
hs: 'haskell', hs: 'haskell',
html: 'htmlmixed', html: 'htmlmixed',
ini: 'text/x-ini', ini: 'ini',
javascript: 'javascript', javascript: 'javascript',
json: {name: 'javascript', json: true}, json: {name: 'javascript', json: true},
js: 'javascript', js: 'javascript',
@ -56,7 +56,7 @@ const modeMap = {
ml: 'mllike', ml: 'mllike',
nginx: 'nginx', nginx: 'nginx',
powershell: 'powershell', powershell: 'powershell',
properties: 'text/x-properties', properties: 'properties',
ocaml: 'mllike', ocaml: 'mllike',
php: 'php', php: 'php',
py: 'python', py: 'python',