From 60d2011b15a4c41a855f87ef72b4f6dec8e6db11 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 5 Jan 2015 00:22:51 -0800 Subject: makespec.py: put pluralizing s inside link for better visuals. --- makespec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makespec.py b/makespec.py index 9b5d523..84663f2 100644 --- a/makespec.py +++ b/makespec.py @@ -132,6 +132,8 @@ elif specformat == "html": result = re.sub(r'␣', ' ', result) result = re.sub(r'<\/a> ', "", result) + # put plural s inside links for better visuals: + result = re.sub(r'<\/a>s', "s", result) sys.stdout.write(template.substitute(metadata, body=result)) # check for errors: -- cgit v1.2.3