diff --git a/i2p2www/spec/views.py b/i2p2www/spec/views.py index 769d8de5..2f99ab19 100644 --- a/i2p2www/spec/views.py +++ b/i2p2www/spec/views.py @@ -62,6 +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'")