From a9657b4579b53710e838b48e3c78b30a2b22b991 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Fri, 1 Jun 2018 12:44:53 +0900 Subject: [PATCH] Fix #5016: ``character_level_inline_markup`` setting is not initialized --- CHANGES | 4 ++++ sphinx/environment/__init__.py | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index bca34a529..0f26145e7 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,10 @@ Features added Bugs fixed ---------- +* #5016: ``character_level_inline_markup`` setting is not initialized for + combination of non reST source parsers (ex. recommonmark) and docutils-0.13 + + Testing -------- diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index 86d69cc3a..dee74830d 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -66,6 +66,7 @@ default_settings = { 'halt_level': 5, 'file_insertion_enabled': True, 'smartquotes_locales': [], + 'character_level_inline_markup': False, # for docutils-0.13.1 or older } # This is increased every time an environment attribute is added