Add extra space in place of stripped underscores to preserve layouts

This commit is contained in:
str4d
2015-11-14 00:07:25 +00:00
parent 129438c61f
commit 1ad3c76cc3

View File

@@ -62,7 +62,7 @@ def spec_show(name, txt=False):
content = content.replace('.. meta::\n', '')
content = content.replace('.. raw:: html\n\n', '')
content = content.replace('\n.. [', '\n[')
content = content.replace(']_', ']')
content = content.replace(']_', '] ')
# Change highlight formatter
content = content.replace('{% highlight', "{% highlight formatter='textspec'")