From 19691bba68eea8ca5f8b9b73ba22e5cd9883a00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Mon, 11 Oct 2021 17:42:29 +0200 Subject: [PATCH] Packaging documentation tweaks --- docs/packaging/README.md | 3 ++- httpie/output/lexers/json.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/packaging/README.md b/docs/packaging/README.md index 5cc10745..40099faa 100644 --- a/docs/packaging/README.md +++ b/docs/packaging/README.md @@ -23,7 +23,8 @@ That is done quite easily by manually triggering the [release workflow](https:// ## Then, company-specific tasks -- Update the HTTPie version bundled into termible ([example](https://github.com/httpie/termible/pull/1)). +- Blank the `master_and_released_docs_differ_after` value in [config.json](https://github.com/httpie/httpie/blob/master/docs/config.json). +- Update the HTTPie version bundled into [Termible](https://termible.io/) ([example](https://github.com/httpie/termible/pull/1)). ## Finally, spread dowstream diff --git a/httpie/output/lexers/json.py b/httpie/output/lexers/json.py index a235c4f3..d26e522f 100644 --- a/httpie/output/lexers/json.py +++ b/httpie/output/lexers/json.py @@ -20,7 +20,7 @@ class EnhancedJsonLexer(RegexLexer): tokens = { 'root': [ # Eventual non-JSON data prefix followed by actual JSON body. - # FIX: data prefix + number (integer or float) are not correctly handled. + # FIX: data prefix + number (integer or float) is not correctly handled. ( fr'({PREFIX_REGEX})' + r'((?:[{\["]|true|false|null).+)', bygroups(PREFIX_TOKEN, using(JsonLexer))