summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_news_colors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/_news_colors.py b/_news_colors.py
index 16318fd..8b0c00b 100644
--- a/_news_colors.py
+++ b/_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')