forked from I2P_Developers/i2p.www
Add extra space in place of stripped underscores to preserve layouts
This commit is contained in:
@@ -62,7 +62,7 @@ def spec_show(name, txt=False):
|
|||||||
content = content.replace('.. meta::\n', '')
|
content = content.replace('.. meta::\n', '')
|
||||||
content = content.replace('.. raw:: html\n\n', '')
|
content = content.replace('.. raw:: html\n\n', '')
|
||||||
content = content.replace('\n.. [', '\n[')
|
content = content.replace('\n.. [', '\n[')
|
||||||
content = content.replace(']_', ']')
|
content = content.replace(']_', '] ')
|
||||||
# Change highlight formatter
|
# Change highlight formatter
|
||||||
content = content.replace('{% highlight', "{% highlight formatter='textspec'")
|
content = content.replace('{% highlight', "{% highlight formatter='textspec'")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user