diff --git a/i2p2www/spec/views.py b/i2p2www/spec/views.py index fe8ffff5d3503e59f76afe8a8ea3fb248c629842..100dd68cb6bc2182fc2a9bcd3b894c59198bbdad 100644 --- a/i2p2www/spec/views.py +++ b/i2p2www/spec/views.py @@ -75,6 +75,9 @@ def spec_show(name, txt=False): content = content.replace(']_', '] ') # Change highlight formatter content = content.replace('{% highlight', "{% highlight formatter='textspec'") + # Other string changes + content = content.replace(' :lastupdated', '- Last updated') + content = content.replace(' :accuratefor', '- Accurate for') # render the post with Jinja2 to handle URLs etc. rendered_content = render_template_string(content)