From 709bb9dff4e267de3c99851c69a652bdbc85cfbe Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 13 Jun 2019 15:40:57 +0200 Subject: [PATCH] Added JSON to list of lexer --- CHANGELOG.rst | 1 + dpaste/apps.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 906ad30..7f57890 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,7 @@ Changelog - Added a dedicated "Copy Snippet" button to copy the content to the clipboard. - Added "View Raw" option to optionally render the 'raw' snippet content with a template rather served as plain text. This was added to hinder abuse. +- Added "Json" to the list of lexers. 3.1 (2019-05-16) ---------------- diff --git a/dpaste/apps.py b/dpaste/apps.py index 8c743c0..645ae49 100644 --- a/dpaste/apps.py +++ b/dpaste/apps.py @@ -354,7 +354,7 @@ class dpasteAppConfig(AppConfig): # ('js+php', 'JavaScript+PHP'), # ('js+smarty', 'JavaScript+Smarty'), # ('jsgf', 'JSGF'), - # ('json', 'JSON'), + ('json', 'JSON'), # ('json-object', 'JSONBareObject'), # ('jsonld', 'JSON-LD'), # ('jsp', 'Java Server Page'),