Blob Blame History Raw
From 3cdc25a10f95549c163fa0b818d0ffd0f4a64470 Mon Sep 17 00:00:00 2001
From: Randy Barlow <randy@electronsweatshop.com>
Date: Tue, 7 Mar 2017 21:59:27 -0500
Subject: [PATCH] New setting in latest docutils

This patch was originally authored by Marc-Antoine Parent and was
backported for cornice-1.1.0 by Randy Barlow.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
---
 cornice/ext/sphinxext.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cornice/ext/sphinxext.py b/cornice/ext/sphinxext.py
index ae4f41a..fe00926 100644
--- a/cornice/ext/sphinxext.py
+++ b/cornice/ext/sphinxext.py
@@ -282,6 +282,7 @@ def rst2node(data):
     document.settings.tab_width = 4
     document.settings.pep_references = False
     document.settings.rfc_references = False
+    document.settings.character_level_inline_markup = False
     document.settings.env = Env()
     parser.parse(data, document)
     if len(document.children) == 1:
-- 
2.12.0