Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/writers.py
diff options
context:
space:
mode:
Diffstat (limited to 'writers.py')
-rw-r--r--writers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/writers.py b/writers.py
index d237c07..57cf7b0 100644
--- a/writers.py
+++ b/writers.py
@@ -312,5 +312,7 @@ class HTMLfromRST(object):
def format(self, M):
import docutils.core
rst = RST().format(M)
- rstToHTML = docutils.core.publish_string(rst, writer_name='html')
+ rstToHTML = docutils.core.publish_string(rst, writer_name='html',
+ settings_overrides={'file_insertion_enabled': 0,
+ 'raw_enabled': 0})
return rstToHTML