From 28b51fbb423ccd98e2633cd66fad0a3cd27ce96f Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Fri, 1 Apr 2016 11:28:00 +0000
Subject: [PATCH] Better format for file metadata in TXT format

---
 i2p2www/spec/views.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/i2p2www/spec/views.py b/i2p2www/spec/views.py
index fe8ffff5d..100dd68cb 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)
-- 
GitLab