summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/_news_colors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/_news_colors.py b/tools/_news_colors.py
index 16318fdb..8b0c00b9 100644
--- a/tools/_news_colors.py
+++ b/tools/_news_colors.py
@@ -110,7 +110,8 @@ class TxtLink(object):
def __init__(self, stack):
self.stack = stack
def __format__(self, target):
- return '@@{link}|{text}@@'.format(link=target, text=target)
+ # the field labeled 'bug' should not be necessary ...
+ return '@@{link}|{text}@@{bug}'.format(link=target, text=target, bug=self.stack[-1])
class TxtSignature(object):
__slots__ = ('stack')